Skip to content

Commit

Permalink
ci: fix docker push on release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-abrioux committed Nov 10, 2024
1 parent e6f49e0 commit ba62acc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
if: ${{ github.ref == 'refs/heads/main'}}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -91,8 +90,9 @@ jobs:
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
- name: Build and push
id: push
Expand Down

0 comments on commit ba62acc

Please sign in to comment.