Skip to content

Commit

Permalink
Build docker an release on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 12, 2024
1 parent 432d08f commit 7c29220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: coverallsapp/github-action@v2

release:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
needs: test
env:
Expand All @@ -54,7 +54,7 @@ jobs:
run: task gem:build gem:push

docker:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
needs: test
steps:
Expand Down

0 comments on commit 7c29220

Please sign in to comment.