Skip to content

Commit

Permalink
Merge pull request #5626 from jkonecny12/master-enable-rhel-container…
Browse files Browse the repository at this point in the history
…-rebuilds

Enable upload of our CentOS Stream containers (rhel-9 and rhel-10 branches)
  • Loading branch information
jkonecny12 authored May 2, 2024
2 parents 9fdd45a + c0b1e2a commit 43b894e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 138 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/container-autoupdate-fedora.yml.j2

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# THIS FILE IS GENERATED FROM A TEMPLATE
# DO NOT EDIT THIS FILE MANUALLY!
# ======================================
# The template is located in: container-autoupdate-fedora.yml.j2
# The template is located in: container-autoupdate.yml.j2

name: Refresh Fedora container images
name: Refresh Fedora and CentOS Stream container images
on:
schedule:
- cron: 0 0 * * *
Expand All @@ -16,13 +16,15 @@ permissions:
contents: read

jobs:

master:
update-container:
strategy:
fail-fast: false
matrix:
branch: ['master', 'rhel-9', 'rhel-10']
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
uses: ./.github/workflows/container-rebuild-action.yml
secrets: inherit
with:
container-tag: master
branch: master

container-tag: ${{ matrix.branch }}
branch: ${{ matrix.branch }}
23 changes: 23 additions & 0 deletions .github/workflows/container-autoupdate.yml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Refresh Fedora and CentOS Stream container images
on:
schedule:
- cron: 0 0 * * *
# be able to start this action manually from a actions tab when needed
workflow_dispatch:

permissions:
contents: read

jobs:
update-container:
strategy:
fail-fast: false
matrix:
branch: ['master'{% for branch in supported_branches %}, '{$ branch|first $}'{% endfor %}]
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
uses: ./.github/workflows/container-rebuild-action.yml
secrets: inherit
with:
container-tag: ${{ matrix.branch }}
branch: ${{ matrix.branch }}
100 changes: 0 additions & 100 deletions .github/workflows/container-rebuild-action.yml.j2

This file was deleted.

0 comments on commit 43b894e

Please sign in to comment.