From 254fbd5a47b0a0bbe13d536e34b95e122152b5a6 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 5 Oct 2021 19:13:45 +0200 Subject: [PATCH] Oops on/release was in the wrong block --- .github/workflows/containers.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 99a0686c..f20bb193 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -6,11 +6,11 @@ on: branches: [master] tags: '*.*' types: [completed] - release: - types: - - created - - edited - - published + release: + types: + - created + - edited + - published jobs: on-success: @@ -68,7 +68,7 @@ jobs: - name: Build and push :latest id: docker_build - if: ${{ github.ref == 'master'}} + if: ${{ github.ref == 'refs/heads/master'}} uses: docker/build-push-action@v2 with: context: ./ @@ -83,7 +83,7 @@ jobs: - name: Build and push :tag id: docker_build_tag_release - if: startsWith(github.ref, 'refs/tags/0.') + if: startsWith(github.ref, 'refs/tags/') uses: docker/build-push-action@v2 with: context: ./