Skip to content

Commit

Permalink
On new release generate -amd64 and -arm64 release versions (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielePalaia authored May 9, 2023
1 parent cb822d6 commit 7c99e18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
type=sha
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down Expand Up @@ -88,7 +86,8 @@ jobs:
flavor: |
latest=false
tags: |
type=semver,pattern={{version}},type=sha,suffix=-amd64,latest=false
type=semver,pattern={{version}},suffix=-amd64,latest=false
type=sha,suffix=-amd64,latest=false
- name: Build and push single-arch amd64 image
uses: docker/build-push-action@v3
with:
Expand All @@ -106,7 +105,8 @@ jobs:
flavor: |
latest=false
tags: |
type=semver,pattern={{version}},type=sha,suffix=-arm64,latest=false
type=semver,pattern={{version}},suffix=-arm64,latest=false
type=sha,suffix=-arm64,latest=false
- name: Build and push single-arch arm64 image
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 7c99e18

Please sign in to comment.