From 15b682d57272ad3748e3dd890492871b42ba98ff Mon Sep 17 00:00:00 2001 From: Ricardo Branco Date: Fri, 24 May 2024 13:00:05 +0200 Subject: [PATCH] Build base image to fix Github Actions --- .github/workflows/container.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 1167c63b..2af6f714 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -43,6 +43,16 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.PCW_IMAGE_PREFIX }}_${{ matrix.suffix }} + - name: Build base image + if: ${{ github.event_name == 'pull_request' }} + uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 + with: + context: . + file: containers/Dockerfile_base + push: false + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + - name: Build Docker image (PCW) if: ${{ matrix.suffix == 'main' }} uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0