Skip to content

Commit

Permalink
Let's build the images in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisameling committed May 4, 2021
1 parent 651d60f commit cf37210
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,19 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
image: [apache, fpm]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Apache image
- name: Build ${{ matrix.image }} image
uses: docker/build-push-action@v2
with:
context: apache
context: ${{ matrix.image }}
push: false
tags: mautic/docker-apache:latest
- name: Build FPM image
uses: docker/build-push-action@v2
with:
context: fpm
push: false
tags: mautic/docker-fpm:latest
tags: mautic/docker-${{ matrix.image }}:latest

0 comments on commit cf37210

Please sign in to comment.