From 8a5befd6aa602e9329042d82612058c9b9241f48 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 7 Feb 2021 23:05:16 +0100 Subject: [PATCH] (TMP) github actions: try image build with docker Signed-off-by: Michael Adam --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 055aaaae..ae003d34 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,6 +43,20 @@ jobs: # using podman explicity for the push job run: make CONTAINER_CMD=podman image-build || df -h + dockerbuild: + runs-on: ubuntu-latest + # don't run on push, since the "push" job contains the + # image build step, so no need to do it twice. + if: github.event_name == 'pull_request' + steps: + - uses: actions/checkout@v2 + - name: check free space + run: df -h + - name: build container image + # note: forcing use of podman here since we are + # using podman explicity for the push job + run: make CONTAINER_CMD=docker image-build || df -h + # push the container to quay.io - only for pushes, not PRs push: needs: [build, check]