From 19ff1ccbcbe3166b69e226e377af08f162818106 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Fri, 30 Oct 2020 10:52:29 +0100 Subject: [PATCH] GitHub Actions: fix building of -debug release versions by fixing build-args syntax in workflow files - master/latest was already fixed. --- .github/workflows/tags.yaml | 16 ++++++++++++---- .github/workflows/test.yaml | 4 +++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml index 64351e5..85a471c 100644 --- a/.github/workflows/tags.yaml +++ b/.github/workflows/tags.yaml @@ -52,7 +52,9 @@ jobs: - name: Build and push amd64 Release Docker Image to DockerHub uses: docker/build-push-action@v2 with: - build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX= + build-args: | + DEBUG_BUILD=0 + BASE_IMAGE_SUFFIX= builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile @@ -65,7 +67,9 @@ jobs: - name: Build and push amd64 Debug Docker Image to DockerHub uses: docker/build-push-action@v2 with: - build-args: DEBUG_BUILD=1,BASE_IMAGE_SUFFIX=-debug + build-args: | + DEBUG_BUILD=1 + BASE_IMAGE_SUFFIX=-debug builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile @@ -80,7 +84,9 @@ jobs: - name: Build and push multiarch Release Docker Image to DockerHub uses: docker/build-push-action@v2 with: - build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX= + build-args: | + DEBUG_BUILD=0 + BASE_IMAGE_SUFFIX= builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile @@ -93,7 +99,9 @@ jobs: - name: Build and push multiarch Debug Docker Image to DockerHub uses: docker/build-push-action@v2 with: - build-args: DEBUG_BUILD=1,BASE_IMAGE_SUFFIX=-debug + build-args: | + DEBUG_BUILD=1 + BASE_IMAGE_SUFFIX=-debug builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c656b2a..4804bdd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -40,7 +40,9 @@ jobs: - name: Build amd64 release image locally to Docker uses: docker/build-push-action@v2 with: - build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX= + build-args: | + DEBUG_BUILD=0 + BASE_IMAGE_SUFFIX= builder: ${{ steps.buildx.outputs.name }} context: . file: ./Dockerfile