Skip to content

Commit

Permalink
feat(ci): update papyrus docker build workflow for release branches (#…
Browse files Browse the repository at this point in the history
…2920)

Signed-off-by: Dori Medini <[email protected]>
  • Loading branch information
dorimedini-starkware authored Dec 24, 2024
1 parent 7002777 commit d1367b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/papyrus_docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=ref,event=pr
# set `dev` tag for the default branch (`main`).
type=raw,value=dev,enable={{is_default_branch}}
# set `main*` tag for the default / release branches.
type=raw,value={{branch}},enable=${{ github.event_name == 'push' && contains(github.ref, 'main') }}
type=raw,value={{branch}}{{tag}}-{{sha}},enable=${{ github.event_name == 'workflow_dispatch' }}
# Build and push Docker image with Buildx
Expand Down

0 comments on commit d1367b0

Please sign in to comment.