Skip to content

Commit

Permalink
build containers workflow: removed conditional from job scope and mov…
Browse files Browse the repository at this point in the history
…ed to step
  • Loading branch information
dan-mm committed Oct 27, 2023
1 parent 69e7c00 commit 5807ffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:

jobs:
build-and-push-containers:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -39,7 +38,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- if: github.event_name == 'pull_request'
- if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
name: Build and Push auxiliary-containers (PR)
shell: bash
run: |
Expand Down

0 comments on commit 5807ffb

Please sign in to comment.