From 7c99e18c692c4b65e9881cb4765ae7a41ec85294 Mon Sep 17 00:00:00 2001 From: Daniele Date: Tue, 9 May 2023 16:34:04 +0200 Subject: [PATCH] On new release generate -amd64 and -arm64 release versions (#609) --- .github/workflows/build-test-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 337dff35..7f7f1d51 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -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 @@ -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: @@ -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: