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 committed Jul 30, 2023
1 parent a804945 commit 5a14b40
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 5a14b40

Please sign in to comment.