From 7725fa51c27b987612b0604b1c762dca8cd89a2c Mon Sep 17 00:00:00 2001 From: Julian Uszkoreit Date: Fri, 18 Aug 2023 14:05:38 +0200 Subject: [PATCH] Update maven-and-docker.yml --- .github/workflows/maven-and-docker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-and-docker.yml b/.github/workflows/maven-and-docker.yml index a0fe3e1..8539c93 100644 --- a/.github/workflows/maven-and-docker.yml +++ b/.github/workflows/maven-and-docker.yml @@ -17,7 +17,7 @@ on: types: [ "published" ] jobs: - mavewn_build: + maven_build: runs-on: ubuntu-latest permissions: @@ -54,10 +54,9 @@ jobs: staging/*.zip build_and_push_docker: + needs: maven_build runs-on: ubuntu-latest - if: ${{ github.event_name == 'release' }} - env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}