From b9979d9f4b88eff7cce2078bd6d33e78ae42fd8f Mon Sep 17 00:00:00 2001 From: Michael Landreh Date: Wed, 17 Mar 2021 15:55:00 +0100 Subject: [PATCH] Update sonarquest-ci.yml --- .github/workflows/sonarquest-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sonarquest-ci.yml b/.github/workflows/sonarquest-ci.yml index 5a7d82b5..4181f94c 100644 --- a/.github/workflows/sonarquest-ci.yml +++ b/.github/workflows/sonarquest-ci.yml @@ -29,14 +29,14 @@ jobs: run: mvn -f ./sonarQuest-backend/pom.xml --batch-mode --update-snapshots verify - name: Login to GitHub Container Registry uses: docker/login-action@v1 - if: github.event_name == 'release' + if: ${{ github.event_name == 'release' }} with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v2 - if: github.event_name == 'release' + if: ${{ github.event_name == 'release' }} with: context: ./sonarQuest-backend push: true @@ -79,14 +79,14 @@ jobs: npm test - name: Login to GitHub Container Registry uses: docker/login-action@v1 - if: github.event_name == 'release' + if: ${{ github.event_name == 'release' }} with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v2 - if: github.event_name == 'release' + if: ${{ github.event_name == 'release' }} with: context: ./sonarQuest-frontend push: true