💃 Use pre-built containers
Now that containers are being built daily in GitHub Actions from the container[0] repository, we can use those containers. That will speed up the GitHub Actions for osbuild and reduce errors from unreleased Fedora versions. [0] https://github.com/osbuild/containers Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
dedc801688
commit
3233093045
1 changed files with 2 additions and 4 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
|
@ -85,17 +85,15 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
fedora_release: ["31", "32", "rawhide"]
|
||||
fedora_release: ["31", "32", "33"]
|
||||
container:
|
||||
image: "docker.io/library/fedora:${{ matrix.fedora_release }}"
|
||||
image: "quay.io/osbuild/osbuild-fedora${{ matrix.fedora_release }}:latest"
|
||||
steps:
|
||||
- name: "📥 Prepare container"
|
||||
run: |
|
||||
echo "fastestmirror=1" >> /etc/dnf/dnf.conf
|
||||
echo "install_weak_deps=0" >> /etc/dnf/dnf.conf
|
||||
rm -fv /etc/yum.repos.d/fedora*modular*
|
||||
dnf -y upgrade
|
||||
dnf -y install dnf-plugins-core findutils git make rpm-build rpmdevtools
|
||||
|
||||
- name: "🗄️ Clone the repository"
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue