mirror of
https://github.com/quay/quay.git
synced 2025-04-18 10:44:06 +03:00
build: Remove the image archive in post-deploy (PROJQUAY-2372) (#963)
post-deploy is used to push the image to backup ECR. Don't remove the image before this is run
This commit is contained in:
parent
563d04aa00
commit
d2f4efd842
@ -27,5 +27,3 @@ skopeo copy --dest-creds "${QUAY_USER}:${QUAY_TOKEN}" \
|
||||
"docker-archive:${BASE_IMG}" \
|
||||
"docker://${QUAY_IMAGE}:${GIT_HASH}"
|
||||
|
||||
# remove the archived image
|
||||
rm ${BASE_IMG}
|
||||
|
@ -27,5 +27,3 @@ skopeo copy --dest-creds "${QUAY_USER}:${QUAY_TOKEN}" \
|
||||
"docker-archive:${BASE_IMG}" \
|
||||
"docker://${QUAY_IMAGE}:${GIT_HASH}"
|
||||
|
||||
# remove the archived image
|
||||
rm ${BASE_IMG}
|
||||
|
@ -19,3 +19,6 @@ skopeo copy --dest-creds "${BACKUP_USER}:${BACKUP_TOKEN}" \
|
||||
skopeo copy --dest-creds "${BACKUP_USER}:${BACKUP_TOKEN}" \
|
||||
"docker-archive:${BASE_IMG}" \
|
||||
"docker://${BACKUP_IMAGE}:${GIT_HASH}"
|
||||
|
||||
# remove the archived image
|
||||
rm ${BASE_IMG}
|
||||
|
Loading…
x
Reference in New Issue
Block a user