Commit ffa720c4 authored by Erik Reider's avatar Erik Reider

Migrated to fedora-minimal docker container for GitHub Actions

parent 86fdd16b
...@@ -11,15 +11,14 @@ on: ...@@ -11,15 +11,14 @@ on:
jobs: jobs:
fedora-build: fedora-build:
container: fedora:latest container: registry.fedoraproject.org/fedora-minimal:latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install tooling for source RPM build - name: Install tooling for source RPM build
run: | run: |
dnf -y install @development-tools @rpm-development-tools microdnf -y install --nodocs --setopt=install_weak_deps=0 \
dnf -y install rpkg git @development-tools @rpm-development-tools rpkg git 'dnf-command(builddep)'
dnf -y install 'dnf-command(builddep)'
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers # It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
- name: Check out sources - name: Check out sources
...@@ -42,7 +41,7 @@ jobs: ...@@ -42,7 +41,7 @@ jobs:
- name: Install build dependencies - name: Install build dependencies
run: | run: |
cd swaync cd swaync
dnf -y builddep ./specs/swaync.rpkg.spec microdnf -y builddep ./specs/swaync.rpkg.spec
- name: Local build - name: Local build
run: | run: |
......
...@@ -9,7 +9,7 @@ on: ...@@ -9,7 +9,7 @@ on:
jobs: jobs:
fedora-copr: fedora-copr:
container: fedora:latest container: registry.fedoraproject.org/fedora-minimal:latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
...@@ -29,7 +29,8 @@ jobs: ...@@ -29,7 +29,8 @@ jobs:
- name: Install tooling for source RPM build - name: Install tooling for source RPM build
run: | run: |
dnf -y install copr-cli rpkg git microdnf -y install --nodocs --setopt=install_weak_deps=0 \
copr-cli rpkg git
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers # It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
- name: Check out sources - name: Check out sources
......
...@@ -25,11 +25,13 @@ jobs: ...@@ -25,11 +25,13 @@ jobs:
fail: true fail: true
rpmlint: rpmlint:
container: fedora:latest container: registry.fedoraproject.org/fedora-minimal:latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install rpmlint - name: Install rpmlint
run: dnf -y install rpmlint rpkg run: |
microdnf -y install --nodocs --setopt=install_weak_deps=0 \
rpmlint rpkg
- name: Check out sources - name: Check out sources
uses: actions/checkout@v3 uses: actions/checkout@v3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment