Skip to content

Commit

Permalink
Update sonarquest-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
surfermicha authored Mar 17, 2021
1 parent 3648f46 commit b9979d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sonarquest-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b9979d9

Please sign in to comment.