From 88b027d9df47ca05476ece54498291841084d908 Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Tue, 30 Apr 2024 19:31:42 +0200 Subject: [PATCH] Test with podman --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 081eb53..fde79ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,18 +12,25 @@ defaults: jobs: build: - name: Build on ${{ matrix.os }} + name: Build on ${{ matrix.os }} with ${{ matrix.container-runtime }} strategy: fail-fast: false matrix: # os: [windows-latest, macos-latest, ubuntu-latest] os: [ubuntu-latest] + container-runtime: [docker, podman] runs-on: ${{ matrix.os }} steps: - name: Prepare git run: git config --global core.autocrlf false if: startsWith(matrix.os, 'windows') + - name: Remove docker if needed + if: matrix.container-runtime == 'podman' + run: | + dpkg -l | grep -i docker + sudo apt-get purge docker-ce docker-ce-cli + - uses: actions/checkout@v4 - name: Set up JDK 17 uses: actions/setup-java@v4