diff --git a/.github/workflows/go-build-and-release.yml b/.github/workflows/go-build-and-release.yml index 1f2156e..e618acb 100644 --- a/.github/workflows/go-build-and-release.yml +++ b/.github/workflows/go-build-and-release.yml @@ -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 @@ -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