From 4194a5b299861a783a0e0c64e1720dad9c77e109 Mon Sep 17 00:00:00 2001 From: "oliver.wanckel@nordeck.net" Date: Fri, 6 Jan 2023 10:25:21 +0100 Subject: [PATCH] Run workflow on tags --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33d112c..04a87fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: push: branches: - main + tags: + - '[0-9]+.[0-9]+.[0-9]+' pull_request: env: @@ -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 }}