Skip to content

Commit 06523f1

Browse files
committed
Update docker-release.yml
1 parent 911239d commit 06523f1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/docker-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ jobs:
3030
type=schedule
3131
type=ref,event=branch
3232
type=ref,event=pr
33-
type=semver,pattern={{version}},suffix=-{{branch}}
34-
type=semver,pattern={{major}}.{{minor}},suffix=-{{branch}}
35-
type=semver,pattern={{major}},suffix=-{{branch}}
33+
type=semver,pattern={{version}},suffix=-alpine
34+
type=semver,pattern={{major}}.{{minor}},suffix=-alpine
35+
type=semver,pattern={{major}},suffix=-alpine
3636
type=sha
37-
# set latest tag for main branch only
38-
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
39-
type=raw,value=latest,suffix=-{{branch}}
37+
type=raw,value=latest,suffix=-alpine
4038
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
4139
with:
4240
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 commit comments

Comments
 (0)