From: William Desportes Date: Tue, 17 Aug 2021 12:11:15 +0000 (+0200) Subject: Add a GitHub workflow to build Docker images X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=633f6cbe6077760a4ab413d867329431e5492993;p=roundcube-roundcubemail-docker.git Add a GitHub workflow to build Docker images --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b3493d8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Build Docker image + +on: [push] + +jobs: + build-variants: + name: Build image variants + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + variants: ["apache", "fpm", "fpm-alpine"] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Build image variant "${{ matrix.variants }}" + run: cd ${{ matrix.variants }} && docker build ./