1
0
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:
Syed Mushtaq Ahmed 2021-11-08 14:57:51 -05:00 committed by GitHub
parent 563d04aa00
commit d2f4efd842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}