diff --git a/.github/workflows/multiple-build.yaml b/.github/workflows/multiple-build.yaml index 3422ecf..634dc87 100644 --- a/.github/workflows/multiple-build.yaml +++ b/.github/workflows/multiple-build.yaml @@ -14,8 +14,24 @@ jobs: build-only-podman: name: Build and push image built only on Podman runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] + steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman + - uses: actions/checkout@v2 - name: Build image using Podman @@ -42,8 +58,23 @@ jobs: build-only-docker: name: Build and push image built only on Docker runs-on: ubuntu-18.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman + - uses: actions/checkout@v2 - name: Build image using Docker @@ -70,8 +101,23 @@ jobs: build-podman-latest: name: Build and push image built latest on Podman runs-on: ubuntu-18.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman + - uses: actions/checkout@v2 - name: Build image using Docker @@ -105,8 +151,23 @@ jobs: build-docker-latest: name: Build and push image built latest on Docker runs-on: ubuntu-18.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman + - uses: actions/checkout@v2 - name: Build image using Podman diff --git a/.github/workflows/verify-login-push.yml b/.github/workflows/verify-login-push.yml index 6868dfe..bf1a1c9 100644 --- a/.github/workflows/verify-login-push.yml +++ b/.github/workflows/verify-login-push.yml @@ -17,7 +17,22 @@ jobs: login-and-push: name: Login and push image to Quay.io runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] + steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman # Checkout push-to-registry action github repository - name: Checkout Push to Registry action diff --git a/.github/workflows/verify-push.yaml b/.github/workflows/verify-push.yaml index 27fb69e..77af5d0 100644 --- a/.github/workflows/verify-push.yaml +++ b/.github/workflows/verify-push.yaml @@ -19,7 +19,22 @@ jobs: build-and-push: name: Build and push image to Quay.io runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + install_latest: [ true, false ] + steps: + - name: Install latest podman + if: matrix.install_latest + # https://podman.io/getting-started/installation + run: | + . /etc/os-release + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list + curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add - + sudo apt-get update + sudo apt-get -y upgrade + sudo apt-get -y install podman # Checkout push-to-registry action github repository - name: Checkout Push to Registry action