Skip to content

Commit 88b2e28

Browse files
committed
fix: latest Docker tag
Signed-off-by: Liam Beckman <lbeckman314@gmail.com>
1 parent f35d647 commit 88b2e28

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/docker.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
name: Publish Docker Image to Quay.io
1+
# This workflow builds and pushes a multi-arch image to Quay.io
2+
# Adapted from actions-arm64-native_example by @gartnera
3+
# ref: https://github.com/gartnera/actions-arm64-native_example/blob/main/.github/workflows/build.yml
4+
5+
name: Build + Push Docker Image
26

37
on:
48
push:
@@ -101,20 +105,23 @@ jobs:
101105
flavor: |
102106
latest=false
103107
tags: |
104-
# Stable semver tags only
108+
# Semver
105109
type=semver,pattern={{version}},value=${{ github.ref_name }}
106110
107-
# latest only for stable vX.Y.Z tags
111+
# Latest
108112
type=raw,value=latest,enable=${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') && !contains(github.ref_name, '-') }}
109113
110114
# Branch pushes
111-
type=ref,event=branch
115+
type=ref,event=branch,latest=false
112116
113117
# PR pushes
114-
type=ref,event=pr
118+
type=ref,event=pr,latest=false
119+
120+
# Git Tag
121+
type=ref,event=tag,latest=false
115122
116123
# Commit SHA
117-
type=sha,prefix=
124+
type=sha,prefix=,latest=false
118125
119126
- name: Create manifest list and push
120127
working-directory: ${{ runner.temp }}/digests

0 commit comments

Comments
 (0)