Skip to content

Commit

Permalink
test tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ademariag committed Oct 1, 2023
1 parent 0e2316c commit aa47807
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}
Expand All @@ -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

0 comments on commit aa47807

Please sign in to comment.