Skip to content

Commit 1d3be8b

Browse files
author
Amir Moualem
authored
Merge pull request #107 from snyk/chore/fix_cicd
chore: when approving images, first pull that image
2 parents e80b05d + 61479e6 commit 1d3be8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/approve-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ else
99
IMAGE_NAME_CANDIDATE=snyk/kubernetes-monitor:staging-candidate
1010
IMAGE_NAME_APPROVED=snyk/kubernetes-monitor:${1}-approved
1111

12+
docker pull ${IMAGE_NAME_CANDIDATE}
1213
docker tag ${IMAGE_NAME_CANDIDATE} ${IMAGE_NAME_APPROVED}
1314
docker push ${IMAGE_NAME_APPROVED}
1415
./scripts/slack-notify-push.sh ${IMAGE_NAME_APPROVED}

0 commit comments

Comments
 (0)