Skip to content

Commit

Permalink
ci: do not run test container generation on forked repos by default
Browse files Browse the repository at this point in the history
If CONTAINER Github variable set, reenable the github action
schedule.
  • Loading branch information
Henrik66 authored and aafeijoo-suse committed Jul 31, 2023
1 parent 1685576 commit 403f4e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:

jobs:
push_to_registry:
if: github.repository == 'dracutdevs/dracut' || vars.CONTAINER == 'enabled'
name: Build and push containers image to GitHub Packages
runs-on: ubuntu-latest
concurrency:
Expand Down

0 comments on commit 403f4e8

Please sign in to comment.