Skip to content

Commit

Permalink
Update image-pull-and-tag.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aedan committed Jan 7, 2025
1 parent 80d84ab commit 048bc26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/image-pull-and-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:
IMAGE_NAME_WITH_TAG="${IMAGE_FULL#*/}" # Remove registry prefix
IMAGE_NAME_ONLY="$(echo $IMAGE_NAME_WITH_TAG | cut -d/ -f2 | cut -d: -f1)" # Extract image name
IMAGE_TAG="$(echo $IMAGE_NAME_WITH_TAG | cut -d: -f2)" # Extract tag
QUAY_IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_ORG }}/$IMAGE_NAME_ONLY:$IMAGE_TAG"
QUAY_IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_ORG }}/rackerlabs-$IMAGE_NAME_ONLY:$IMAGE_TAG"
echo $QUAY_IMAGE
echo "Retagging ${{ matrix.image }} to $QUAY_IMAGE"
docker tag ${{ matrix.image }} $QUAY_IMAGE
Expand Down

0 comments on commit 048bc26

Please sign in to comment.