Skip to content

Commit

Permalink
ci: update docker build action
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ex4 committed Aug 13, 2024
1 parent 8e77292 commit 0af6922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
if: "!startsWith(github.event.head_commit.message, 'ci') && !startsWith(github.event.head_commit.message, 'doc')"
runs-on: ubuntu-latest
steps:
# Get the repository's code
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
tags: |
type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch,enable=${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
type=ref,event=branch,enable=${{ github.ref != 'refs/heads/master' }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
Expand Down

0 comments on commit 0af6922

Please sign in to comment.