Skip to content

Commit

Permalink
fix: Run docker publish_release on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
skomski committed Feb 24, 2025
1 parent 3edbcb5 commit 70e6e0f
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 @@ -25,7 +25,7 @@ jobs:
run: echo "today=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"

publish_release:
if: github.event.pull_request.merged == true
if: github.ref == 'refs/heads/main'
needs: set_date
uses: famedly/github-workflows/.github/workflows/docker.yml@main
with:
Expand All @@ -41,7 +41,7 @@ jobs:
secrets: inherit

publish_dev:
if: github.event.pull_request.merged != true
if: github.ref != 'refs/heads/main'
needs: set_date
uses: famedly/github-workflows/.github/workflows/docker.yml@main
with:
Expand Down

0 comments on commit 70e6e0f

Please sign in to comment.