summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-test.yaml')
-rw-r--r--.github/workflows/build-test.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml
index 140bf00..ab6f1e1 100644
--- a/.github/workflows/build-test.yaml
+++ b/.github/workflows/build-test.yaml
@@ -14,11 +14,11 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ fedora-latest, centos-8, centos-7 ]
+ os: [ 'registry.fedoraproject.org/fedora:latest', 'quay.io/centos/centos:stream8', 'registry.centos.org/centos:7' ]
steps:
- uses: actions/checkout@v2
- name: Set the right OS in the Dockerfile
- run: sed -i "s#^FROM.*#FROM $( echo ${{ matrix.os }} | sed 's#^fedora-#registry.fedoraproject.org/fedora:#; s#^centos-#registry.centos.org/centos:#;' )#" tests/Dockerfile
+ run: sed -i "s#^FROM.*#FROM ${{ matrix.os }}#" tests/Dockerfile
- name: Build image
run: docker build -t mod_authnz_pam -f tests/Dockerfile .
- name: Run container