ACTIONS_RUNTIME_TOKEN issues in docker/build-push-action@v5 #459
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#459
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?
It seems that issue mentioned in #396 is still not resolved:
It fails with:
When using empty ACTION_RUNTIME_TOKEN in environment vars - cache is not used:
As stated here: #119 (comment) - this token is not a JWT, but a simple string.
Is it possible to convert it to JWT?
I also hope Gitea migrates to use JWT tokens here, because
actions/upload-artifact@v4
andactions/download-artifact@v4
will require them once the GHES / Gitea is no longer blocked behind a github.com flag.See here: https://github.com/nektos/act/issues/2135
I believe this would require changes to the artifacts backend on the Gitea Server side
I think it currently has the same format as a PAT token, with a restricted livetime.
It's not resolved completely. But the PR you referenced is doing right.
Before that fix, the
build-push-action
will exit as an error, thus the action will exit incompletely. After that, it will show a warning and continue to work. It will lose some functionality(like thecache
you mentioned). However the workflow file of this repo only needs to upload the image to the docker hub, so the workaround can be removed. That fix is about turning an error into a warning and your issue is about a warning affecting some functionality.Agreed. Otherwise, some of the actions cannot be reused in Gitea Actions.
I'm still working on this issue...
Current work is done here https://github.com/go-gitea/gitea/pull/29584