Skip to content

Commit

Permalink
fix: ci publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ad2ien committed Mar 27, 2024
1 parent a5ccfda commit 7af87b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
uses: FranzDiebold/github-env-vars-action@v2.8.0

- name: Extract metadata (tags, labels) for Docker
id: docker_metadata
uses: docker/metadata-action@v5
with:
images: ${{ vars.DOCKER_HUB_USERNAME }}/eimis-keycloak
tags: |
type=raw,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},value=${{ env.CI_ACTION_REF_NAME_SLUG }}
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, github.event.repository.default_branch) }},value=latest
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/v') }},value=latest
type=semver,pattern={{version}}
labels: |
org.opencontainers.image.vendor=EIMIS
Expand Down

0 comments on commit 7af87b2

Please sign in to comment.