Skip to content

Commit

Permalink
ci(docker): ensure stable tag is created on master branch
Browse files Browse the repository at this point in the history
This commit ensures that the stable tag is created on the master branch.
  • Loading branch information
rickstaa authored and eliteprox committed Jul 26, 2024
1 parent 4424cb6 commit 2cb0021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}},prefix=v
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=${{ github.event.pull_request.head.ref }}
type=raw,value=stable,enable=${{ startsWith(github.event.ref, 'refs/tags/v') && github.event.base_ref == 'refs/heads/main' }}
type=raw,value=stable,enable=${{ startsWith(github.event.ref, 'refs/tags/v') && github.event.base_ref == 'refs/heads/master' }}
- name: Build and push livepeer docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 2cb0021

Please sign in to comment.