Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-20 11:56:29 -04:00 committed by June
parent 96399703cc
commit 640cb2d4a8

View file

@ -371,7 +371,7 @@ jobs:
docker tag $IMAGE_ID $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }} docker tag $IMAGE_ID $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }}
docker push $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }} docker push $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }}
# Tag the multi-arch image # Tag the multi-arch image
docker manifest create $IMAGE_NAME:$GITHUB_SHA --amend $IMAGE_NAME:$GITHUB_SHA-$${{ env.TARGET_NAME }} docker manifest create $IMAGE_NAME:$GITHUB_SHA --amend $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }}
docker manifest push $IMAGE_NAME:$GITHUB_SHA docker manifest push $IMAGE_NAME:$GITHUB_SHA
# Tag and push the git ref # Tag and push the git ref
docker manifest create $IMAGE_NAME:$GITHUB_REF_NAME --amend $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }} docker manifest create $IMAGE_NAME:$GITHUB_REF_NAME --amend $IMAGE_NAME:$GITHUB_SHA-${{ env.TARGET_NAME }}