Skip to content

Commit 7c29220

Browse files
committed
Build docker an release on tags
1 parent 432d08f commit 7c29220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: coverallsapp/github-action@v2
3535

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

5656
docker:
57-
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
57+
if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }}
5858
runs-on: ubuntu-latest
5959
needs: test
6060
steps:

0 commit comments

Comments
 (0)