Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get tagname when workflow trigger event is release #23943

Closed
sillyguodong opened this issue Apr 6, 2023 · 0 comments · Fixed by #23944
Closed

Can't get tagname when workflow trigger event is release #23943

sillyguodong opened this issue Apr 6, 2023 · 0 comments · Fixed by #23944
Assignees
Labels

Comments

@sillyguodong
Copy link
Contributor

Description

This issue is report from gitea.com.
docker/metadata-action cannot get the tag name of relase when the trigger event is release.

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

PostgreSQL

@sillyguodong sillyguodong self-assigned this Apr 6, 2023
silverwind pushed a commit that referenced this issue Apr 7, 2023
…23944)

Fix #23943
When trigger event is `release`, ref should be like
`refs/tags/<tag_name>` instead of `CommitID`
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Apr 7, 2023
…o-gitea#23944)

Fix go-gitea#23943
When trigger event is `release`, ref should be like
`refs/tags/<tag_name>` instead of `CommitID`
lunny pushed a commit that referenced this issue Apr 8, 2023
…23944) (#23989)

Backport #23944 by @sillyguodong

Fix #23943
When trigger event is `release`, ref should be like
`refs/tags/<tag_name>` instead of `CommitID`

Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant