From c9e3bff6e27fff81261bf77008d1b7cb5d38d93f Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 26 Apr 2021 00:08:16 -0500 Subject: [PATCH] Update tests --- .github/workflows/cron.yml | 10 ++++++---- .github/workflows/main.yml | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 47ad969..93fb966 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -19,7 +19,7 @@ jobs: if: github.repository_owner == 'hwdsl2' strategy: matrix: - os_version: ["centos:8", "centos:7", "amazonlinux:2", "ubuntu:16.04"] + os_version: ["centos:8", "centos:8s", "centos:7", "amazonlinux:2"] fail-fast: false env: OS_VERSION: ${{ matrix.os_version }} @@ -373,9 +373,11 @@ jobs: exit 0 EOF - cat > Dockerfile < Dockerfile + else + echo "FROM $OS_VERSION" > Dockerfile + fi cat >> Dockerfile <<'EOF' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d87a0cb..af48891 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,7 +48,7 @@ jobs: if: github.repository_owner == 'hwdsl2' strategy: matrix: - os_version: ["centos:8", "centos:7", "amazonlinux:2", "ubuntu:16.04"] + os_version: ["centos:8", "centos:8s", "centos:7", "amazonlinux:2"] fail-fast: false env: OS_VERSION: ${{ matrix.os_version }} @@ -405,9 +405,11 @@ jobs: exit 0 EOF - cat > Dockerfile < Dockerfile + else + echo "FROM $OS_VERSION" > Dockerfile + fi cat >> Dockerfile <<'EOF'