Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update container to fedora 40 #3

Merged
merged 4 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.IMAGE_NAME }}
tags: latest ${{ github.sha }}
tags: 40 ${{ github.sha }}
context: ./${{ env.IMAGE_NAME }}
containerfiles: |
${{ env.IMAGE_NAME }}/Containerfile

- name: Log in to ghcr.io
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/f40'
uses: redhat-actions/podman-login@v1
with:
registry: ${{ env.REGISTRY }}
username: t2linux
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push image to ghcr.io
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/f40'
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- f40
jobs:
build-image:
uses: ./.github/workflows/build-image.yml
Expand Down
3 changes: 2 additions & 1 deletion fedora-dev/Containerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM fedora:39
FROM fedora:40
SHELL ["/usr/bin/bash", "-c"]

RUN dnf install --quiet -y \
koji \
git \
python-xmltodict \
rpmdevtools \
rpm-sign \
mock \
Expand Down
Loading