Skip to content

Commit 619c4db

Browse files
authored
Merge pull request #2 from blinklabs-io/chore/ci-fix-getting-version
chore(ci): fix getting version for multi-arch manifest
2 parents 942857d + a667c0e commit 619c4db

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/publish.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,10 @@ jobs:
171171
flavor: |
172172
latest=false
173173
tags: |
174-
# Only version, no revision
175-
type=match,pattern=v(.*)-(.*),group=1
174+
# version
175+
type=match,pattern=v(.*),group=1
176176
# branch
177177
type=ref,event=branch
178-
# semver
179-
type=semver,pattern={{version}}
180178
- id: meta-dockerhub-tag
181179
name: Metadata - Docker Hub (Tags)
182180
uses: docker/metadata-action@v4
@@ -187,7 +185,7 @@ jobs:
187185
latest=false
188186
tags: |
189187
# Only version, no revision
190-
type=match,pattern=v(.*)-(.*),group=1
188+
type=match,pattern=v(.*),group=1
191189
- id: meta-ghcr
192190
name: Metadata - GHCR
193191
uses: docker/metadata-action@v4
@@ -196,12 +194,10 @@ jobs:
196194
flavor: |
197195
latest=false
198196
tags: |
199-
# Only version, no revision
200-
type=match,pattern=v(.*)-(.*),group=1
197+
# version
198+
type=match,pattern=v(.*),group=1
201199
# branch
202200
type=ref,event=branch
203-
# semver
204-
type=semver,pattern={{version}}
205201
- id: meta-ghcr-tag
206202
name: Metadata - GHCR (Tags)
207203
uses: docker/metadata-action@v4
@@ -211,8 +207,8 @@ jobs:
211207
flavor: |
212208
latest=false
213209
tags: |
214-
# Only version, no revision
215-
type=match,pattern=v(.*)-(.*),group=1
210+
# version
211+
type=match,pattern=v(.*),group=1
216212
217213
# First, create manifests and push to GHCR
218214

0 commit comments

Comments
 (0)