From 36da1c24283a426b46ce92a3e97df8ffd69befe8 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Fri, 30 Oct 2020 00:41:13 +0100 Subject: [PATCH] GitHub Actions: different syntax for build-args, lest :latest-debug is not really debug enabled --- .github/workflows/master-latest.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master-latest.yaml b/.github/workflows/master-latest.yaml index 3914afa..bcefbdc 100644 --- a/.github/workflows/master-latest.yaml +++ b/.github/workflows/master-latest.yaml @@ -39,7 +39,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 @@ -52,7 +54,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