Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick committed Aug 30, 2024
1 parent a6d0bc8 commit b49fd33
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b49fd33

Please sign in to comment.