Skip to content

Commit

Permalink
Merge pull request #161 from makaveli10/fix_docker_workflow
Browse files Browse the repository at this point in the history
Build & push docker image on every new tag.
  • Loading branch information
zoq authored Feb 29, 2024
2 parents 9e5ab40 + a495a49 commit acd4902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
build-and-push-docker-cpu:
needs: [run-tests, check-code-format]
runs-on: ubuntu-22.04
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
steps:
- uses: actions/checkout@v2

Expand All @@ -103,7 +103,7 @@ jobs:
needs: [run-tests, check-code-format, build-and-push-docker-cpu]
timeout-minutes: 20
runs-on: ubuntu-22.04
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit acd4902

Please sign in to comment.