You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/docker buildx build --iidfile /tmp/docker-build-push-zz6BYw/iidfile --platform linux/amd64,linux/arm64 --secret id=GIT_AUTH_TOKEN,src=/tmp/ --tag ghcr.io/user/repo:latest --tag ghcr.io/user/repo: --metadata-file /tmp/docker-build-push/metadata-file --push https://github.com/user/repogit#fakehash
ERROR: invalid tag "ghcr.io/user/repo:": invalid reference format
Error: buildx failed with: ERROR: invalid tag "ghcr.io/user/tag:": invalid reference format
As shown in this example, ${{ steps.tag.outputs.new_tag }} ends up being an empty string so the tag ghcr.io/user/repo: ends up invalid as it's a docker tag with no actual tag on it.
Workaround
Downgrading to 1.44.0 fixes the issue.
The text was updated successfully, but these errors were encountered:
Zozman
changed the title
Version 1.0.45 Has The new_tag Output Return As Empty
Version 1.45.0 Has The new_tag Output Return As Empty
Sep 13, 2022
Issue
On action version
1.45.0
, thenew_tag
output is returned as an empty string.Example
Action Code
Result
As shown in this example,
${{ steps.tag.outputs.new_tag }}
ends up being an empty string so the tagghcr.io/user/repo:
ends up invalid as it's a docker tag with no actual tag on it.Workaround
Downgrading to
1.44.0
fixes the issue.The text was updated successfully, but these errors were encountered: