Skip to content

Commit

Permalink
execute docker workflow only on explicit dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: Mic Bowman <[email protected]>
  • Loading branch information
cmickeyb committed Oct 30, 2024
1 parent 832f89f commit 3a04675
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ name: Build and Push PDO Docker Images
on:
workflow_dispatch:

pull_request:
types: [closed]
branches: [main]
# pull_request:
# types: [closed]
# branches: [main]

jobs:

docker_build:

if: >
github.event.name == 'workflow_dispatch' ||
github.event.name == 'pull_request' && github.event.pull_request.merged == true
# if: >
# github.event.name == 'workflow_dispatch' ||
# github.event.name == 'pull_request' && github.event.pull_request.merged == true
name: Build PDO Images
runs-on: ubuntu-22.04

Expand Down

0 comments on commit 3a04675

Please sign in to comment.