From aa4780771ab539e862f3489e869c8e057b9afa8e Mon Sep 17 00:00:00 2001 From: Alessandro De Maria Date: Sun, 1 Oct 2023 11:42:32 +0000 Subject: [PATCH] test tags --- .github/workflows/test-build-publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-build-publish.yml b/.github/workflows/test-build-publish.yml index 5ee844cf7..fd1a3bed2 100644 --- a/.github/workflows/test-build-publish.yml +++ b/.github/workflows/test-build-publish.yml @@ -176,8 +176,8 @@ jobs: name=${{ vars.DOCKERHUB_REPOSITORY }}/kapitan # generate Docker tags based on the following events/attributes tags: | - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} - type=ref,event=branch + type=raw,value=latest,enable={{is_default_branch}} + type=ref,event=branch, type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} @@ -241,7 +241,7 @@ jobs: name=${{ vars.DOCKERHUB_REPOSITORY }}/kapitan # generate Docker tags based on the following events/attributes tags: | - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} + type=raw,value=latest,enable={{is_default_branch}} type=ref,event=branch type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} @@ -254,5 +254,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} builder: buildx suffixes: | + -py-3.8-linux-amd64 + -py-3.8-linux-arm64 -linux-amd64 -linux-arm64 \ No newline at end of file