docker/build-push-action can not work in latest version #119
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#119
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
build.yml
Error log
Hmmm, it looks strange, I also meet the error when running with binary
It seems to be a ACTIONS_RUNTIME_TOKEN issue
I think so. I guess it might be related to
Could you please upgrade your binary runner to the latest version and test again?
you are right, binary of the latest version not work also
Run with docker image, can not build dockerto docker/build-push-action can not work in latest versionIn Gitea,
ACTIONS_RUNTIME_TOKEN
is a random string, not a JWT.But the
docker/build-push-action@v4
tries to parse the token as JWT and doesn't handle the error, so the job fails.There are two workarounds:
ACTIONS_RUNTIME_TOKEN
to empty manually, like:The code related to parsing
ACTIONS_RUNTIME_TOKEN
as JWT indocker/build-push-action@v4
:I think we could close this PR since it has been documented as a known issue.
And strictly speaking, it's not a bug of act runner.
Thanks for fix it 👍👍