From 3d758304a0e9a5b064f172c18aafb8236e992666 Mon Sep 17 00:00:00 2001 From: SebClem Date: Tue, 16 Feb 2021 12:30:04 +0100 Subject: [PATCH] Docker push only from master --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 476f3cd..211e5fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,11 @@ jobs: with: name: claptrap_jar path: build/libs/ + build-docker: runs-on: [ubuntu-latest] needs: [build-gradle] + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v2 - name: Download artifact