diff --git a/.github/workflows/release-chart.yml b/.github/workflows/release-chart.yml index 705d8e1..5aa21e4 100644 --- a/.github/workflows/release-chart.yml +++ b/.github/workflows/release-chart.yml @@ -164,6 +164,22 @@ jobs: docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://registry.cn-hongkong.aliyuncs.com/deepflow-ce/$SORTIMAGE docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://ghcr.io/deepflowio/deepflow-ce/$SORTIMAGE done + - name: sync init container image + run: | + DEPENDSIMAGE=$(kubectl get pods -n deepflow -o jsonpath={.items[*].spec.initContainers[*].image}awk -F" " '{for(i=1;i<=NF;i++) print $i}' |grep -v deepflow|sort -u) + for SYNCIMAGE in $DEPENDSIMAGE + do + SORTIMAGE=$(echo $SYNCIMAGE|awk -F/ '{print $NF}') + echo $SORTIMAGE + echo "skopeo copy -a docker://$SYNCIMAGE docker://deepflowce/$SORTIMAGE" + echo "skopeo copy -a docker://$SYNCIMAGE docker://registry.cn-beijing.aliyuncs.com/deepflow-ce/$SORTIMAGE" + echo "skopeo copy -a docker://$SYNCIMAGE docker://registry.cn-hongkong.aliyuncs.com/deepflow-ce/$SORTIMAGE" + echo "skopeo copy -a docker://$SYNCIMAGE docker://ghcr.io/deepflowio/deepflow-ce/$SORTIMAGE " + docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://deepflowce/$SORTIMAGE + docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://registry.cn-beijing.aliyuncs.com/deepflow-ce/$SORTIMAGE + docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://registry.cn-hongkong.aliyuncs.com/deepflow-ce/$SORTIMAGE + docker run -v ~/.docker/config.json:/tmp/auth.json quay.io/skopeo/stable:latest copy -a docker://$SYNCIMAGE docker://ghcr.io/deepflowio/deepflow-ce/$SORTIMAGE + done release_stable_chart: name: release stable chart diff --git a/charts/deepflow-agent/Chart.yaml b/charts/deepflow-agent/Chart.yaml index 76178cb..6d235f6 100644 --- a/charts/deepflow-agent/Chart.yaml +++ b/charts/deepflow-agent/Chart.yaml @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers. name: deepflow-agent engine: gotpl type: application -version: 6.6.004 +version: 6.6.005 appVersion: "6.6.4" kubeVersion: ">=1.16.0-0" sources: diff --git a/charts/deepflow/Chart.yaml b/charts/deepflow/Chart.yaml index 34bebe2..1604ae4 100644 --- a/charts/deepflow/Chart.yaml +++ b/charts/deepflow/Chart.yaml @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers. name: deepflow engine: gotpl type: application -version: 6.6.004 +version: 6.6.005 appVersion: "6.6.4" kubeVersion: ">=1.16.0-0" sources: