Self hosted FLOSS fitness/workout, nutrition and weight tracker
Build docker images in parallel
Roland Geiderccf1bc0dff95
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 445ca58fc..82ff90afe 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -6,7 +6,8 @@ on:- masterjobs:- path-context:+ apache:+ name: Build apache imageruns-on: ubuntu-lateststeps:- name: Checkout@@ -24,7 +25,7 @@ jobs:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Build apache image+ - name: Build imageuses: docker/[email protected]with:context: .@@ -33,7 +34,26 @@ jobs:platforms: linux/amd64,linux/arm64tags: wger/demo:latest,wger/demo:2.2-dev,wger/apache:latest,wger/apache:2.2-dev- - name: Build dev image+ prod:+ name: Build production image+ runs-on: ubuntu-latest+ steps:+ - name: Checkout+ uses: actions/checkout@v3++ - name: Set up QEMU+ uses: docker/[email protected]++ - name: Set up Docker Buildx+ uses: docker/[email protected]++ - name: Login to DockerHub+ uses: docker/[email protected]+ with:+ username: ${{ secrets.DOCKERHUB_USERNAME }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}++ - name: Build imageuses: docker/[email protected]with:context: .