Skip to content

Commit

Permalink
Merge pull request #451 from rackerlabs/fix-container-build
Browse files Browse the repository at this point in the history
ci: fix to build on containers on main merge
  • Loading branch information
mfencik authored Nov 7, 2024
2 parents 21624f8 + 1e73d82 commit 73d9a22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
openstack:
if: github.event_name == 'pull_request' && github.event.action != 'closed'
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
annotations: ${{ steps.meta.outputs.annotations }}

dnsmasq:
if: github.event_name == 'pull_request' && github.event.action != 'closed'
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -109,6 +109,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

workflows:
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit 73d9a22

Please sign in to comment.