Skip to content

Commit

Permalink
Make changes to handle the branched period
Browse files Browse the repository at this point in the history
  • Loading branch information
cverna authored Aug 26, 2024
1 parent 42efed8 commit ef906eb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/update_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,20 @@ jobs:
run: |
podman run --rm --workdir /tmp -v $PWD:/tmp:z fedora-container-release:latest ${{ matrix.version }}
- name: Run the release script 40, 41
if: ${{ matrix.version == 40 || matrix.version == 41 }}
- name: Run the release script 40
if: ${{ matrix.version == 40 }}
run: |
podman run --rm --workdir /tmp -v $PWD:/tmp:z download_fedora_container:latest ${{ matrix.version }} --output-dir /tmp
- name: Run the release script 41
if: ${{ matrix.version == 41 }}
run: |
podman run --rm --workdir /tmp -v $PWD:/tmp:z download_fedora_container:latest ${{ matrix.version }} --output-dir /tmp --branched
- name: Run the release script == 42
if: ${{ matrix.version == 42 }}
run: |
podman run --rm --workdir /tmp -v $PWD:/tmp:z download_fedora_container:latest rawhide --output-dir /tmp
podman run --rm --workdir /tmp -v $PWD:/tmp:z download_fedora_container:latest ${{ matrix.version }} --output-dir /tmp --rawhide
- name: Delete downloaded archives
if: ${{ matrix.version < 40 }}
Expand Down

0 comments on commit ef906eb

Please sign in to comment.