Skip to content

Commit

Permalink
hotfix: github action package job missed repo owner in tag
Browse files Browse the repository at this point in the history
  • Loading branch information
equals215 committed Apr 16, 2024
1 parent 1244b0b commit a5ec72e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/go-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/metadata-action@v4.0.1
with:
images: |
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=tag
type=sha
Expand All @@ -80,9 +80,7 @@ jobs:
- name: Output image
id: image
run: |
# NOTE: Set the image as an output because the `env` context is not
# available to the inputs of a reusable workflow call.
image_name="${IMAGE_REGISTRY}/${IMAGE_NAME}"
image_name="${IMAGE_REGISTRY}/${IMAGE_OWNER}/${IMAGE_NAME}"
echo "image=$image_name" >> "$GITHUB_OUTPUT"
# This step calls the container workflow to generate provenance and push it to
Expand Down

0 comments on commit a5ec72e

Please sign in to comment.