Skip to content

Commit

Permalink
Merge pull request #19 from nordeck/nic/feat/release_build
Browse files Browse the repository at this point in the history
Run workflow on tags
  • Loading branch information
helletheone authored Jan 6, 2023
2 parents 75457b7 + 4194a5b commit b230470
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:

env:
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
uses: docker/build-push-action@v3
id: dockerBuild
with:
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
push: true
context: ./backend/
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit b230470

Please sign in to comment.