Skip to content

Commit

Permalink
Merge pull request #2 from blinklabs-io/chore/ci-fix-getting-version
Browse files Browse the repository at this point in the history
chore(ci): fix getting version for multi-arch manifest
  • Loading branch information
wolf31o2 authored Apr 5, 2023
2 parents 942857d + a667c0e commit 619c4db
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,10 @@ jobs:
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# version
type=match,pattern=v(.*),group=1
# branch
type=ref,event=branch
# semver
type=semver,pattern={{version}}
- id: meta-dockerhub-tag
name: Metadata - Docker Hub (Tags)
uses: docker/metadata-action@v4
Expand All @@ -187,7 +185,7 @@ jobs:
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
type=match,pattern=v(.*),group=1
- id: meta-ghcr
name: Metadata - GHCR
uses: docker/metadata-action@v4
Expand All @@ -196,12 +194,10 @@ jobs:
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# version
type=match,pattern=v(.*),group=1
# branch
type=ref,event=branch
# semver
type=semver,pattern={{version}}
- id: meta-ghcr-tag
name: Metadata - GHCR (Tags)
uses: docker/metadata-action@v4
Expand All @@ -211,8 +207,8 @@ jobs:
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# version
type=match,pattern=v(.*),group=1
# First, create manifests and push to GHCR

Expand Down

0 comments on commit 619c4db

Please sign in to comment.