Skip to content

Commit 3d83b88

Browse files
authored
Disable latest Docker tag in release workflow (#221)
* disable latest tag * update comment
1 parent 5a9f8c3 commit 3d83b88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ concurrency:
1111
jobs:
1212
build-docker-release:
1313
# Ignore tags with -, like v1.0.0-alpha
14-
# This job will build the docker container with the "latest" tag which
15-
# is a tag used in production, thus it should only be run for full releases.
1614
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-')
1715
name: Build Release Docker image
1816
uses: ./.github/workflows/build-docker.yml
1917
with:
2018
tags: |
21-
type=raw,value=latest
2219
type=semver,pattern={{version}}
2320
type=semver,pattern={{major}}.{{minor}}
2421
type=sha
22+
# Explicitly disable latest tag. It will be added otherwise.
23+
flavor: |
24+
latest=false
2525
2626
build-docker-prerelease:
2727
# Only build tags with -, like v1.0.0-alpha

0 commit comments

Comments
 (0)