Skip to content

Commit

Permalink
refactor(ci/cd): update tag handling in docker-publish workflow to us…
Browse files Browse the repository at this point in the history
…e 'latest' instead of 'beta-latest'
  • Loading branch information
groenator committed Jan 9, 2025
1 parent 435325a commit d341a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ jobs:
uses: docker/metadata-action@v5
with:
flavor: |
beta-latest=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
latest=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
images: |
ghcr.io/groenator/iptvboss-docker-beta
tags: |
type=ref,event=pr
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
type=semver,pattern=v{{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=beta-latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=${{ env.BETA_TAG }},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
# Build and push Beta Image
Expand Down

0 comments on commit d341a7c

Please sign in to comment.