diff options
author | Giteabot <teabot@gitea.io> | 2023-12-08 08:29:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 16:29:17 -0800 |
commit | 31070933948d5c966b6b5266f8bcc5d7224927b3 (patch) | |
tree | ddd548aa4d03d8c9310cd26fd6efc30e743ebf42 /.github | |
parent | 272ae03341561ad51228fc75bd12ca3180504100 (diff) | |
download | gitea-31070933948d5c966b6b5266f8bcc5d7224927b3.tar.gz gitea-31070933948d5c966b6b5266f8bcc5d7224927b3.zip |
Fix Docker meta action for releases (#28232) (#28395)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release-tag-rc.yml | 3 | ||||
-rw-r--r-- | .github/workflows/release-tag-version.yml | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/release-tag-rc.yml b/.github/workflows/release-tag-rc.yml index c112ed0e6c..c6472073e4 100644 --- a/.github/workflows/release-tag-rc.yml +++ b/.github/workflows/release-tag-rc.yml @@ -78,6 +78,8 @@ jobs: id: meta with: images: gitea/gitea + flavor: | + latest=false # 1.2.3-rc0 tags: | type=semver,pattern={{version}} @@ -109,6 +111,7 @@ jobs: images: gitea/gitea # each tag below will have the suffix of -rootless flavor: | + latest=false suffix=-rootless # 1.2.3-rc0 tags: | diff --git a/.github/workflows/release-tag-version.yml b/.github/workflows/release-tag-version.yml index 2ec82281ce..a18af78a10 100644 --- a/.github/workflows/release-tag-version.yml +++ b/.github/workflows/release-tag-version.yml @@ -86,7 +86,6 @@ jobs: # 1.2 # 1.2.3 tags: | - type=raw,value=latest type=semver,pattern={{major}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{version}} @@ -118,14 +117,13 @@ jobs: images: gitea/gitea # each tag below will have the suffix of -rootless flavor: | - suffix=-rootless + suffix=-rootless,onlatest=true # this will generate tags in the following format (with -rootless suffix added): # latest # 1 # 1.2 # 1.2.3 tags: | - type=raw,value=latest type=semver,pattern={{major}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{version}} |