Docker push only from master

This commit is contained in:
SebClem 2021-02-16 12:30:04 +01:00
parent 617048afa3
commit 3d758304a0

View File

@ -29,9 +29,11 @@ jobs:
with: with:
name: claptrap_jar name: claptrap_jar
path: build/libs/ path: build/libs/
build-docker: build-docker:
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]
needs: [build-gradle] needs: [build-gradle]
if: github.ref == 'refs/heads/master'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Download artifact - name: Download artifact