Skip to content

Commit

Permalink
Merge pull request dracutdevs#3 from redhat-plumbers/reconfigure-gh-a…
Browse files Browse the repository at this point in the history
…ctions

ci: drop the hardcoded repo owner name
  • Loading branch information
lnykryn authored Jun 7, 2021
2 parents 0cdd05b + d4274f0 commit 976f5e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:
schedule:
- cron: '30 11 * * *' # every day at 4:40
push:
branches: [ master ]
branches: [ main ]
paths:
- 'test/container/**'
- '.github/workflows/container.yml'
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'test/container/**'
- '.github/workflows/container.yml'
Expand Down Expand Up @@ -50,5 +50,5 @@ jobs:
uses: docker/build-push-action@v2
with:
file: test/container/${{ matrix.config.dockerfile }}
tags: ghcr.io/dracutdevs/${{ matrix.config.tag }}
tags: ghcr.io/${{ github.repository_owner }}/${{ matrix.config.tag }}
push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration Test

on:
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
basic:
Expand All @@ -24,7 +24,7 @@ jobs:
]
fail-fast: false
container:
image: ghcr.io/dracutdevs/${{ matrix.container }}
image: ghcr.io/${{ github.repository_owner }}/${{ matrix.container }}
options: "--privileged -v /dev:/dev"
steps:
- name: "Checkout Repository"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
]
fail-fast: false
container:
image: ghcr.io/dracutdevs/${{ matrix.container }}
image: ghcr.io/${{ github.repository_owner }}/${{ matrix.container }}
options: "--privileged -v /dev:/dev"
steps:
- name: "Checkout Repository"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Lint

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
lint-c:
Expand Down

0 comments on commit 976f5e0

Please sign in to comment.