Skip to content

Commit 36da1c2

Browse files
committed
GitHub Actions: different syntax for build-args, lest :latest-debug is not really debug enabled
1 parent aaf7fa0 commit 36da1c2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/master-latest.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
- name: Build and push amd64 Release Docker Image to DockerHub
4040
uses: docker/build-push-action@v2
4141
with:
42-
build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX=
42+
build-args: |
43+
DEBUG_BUILD=0
44+
BASE_IMAGE_SUFFIX=
4345
builder: ${{ steps.buildx.outputs.name }}
4446
context: .
4547
file: ./Dockerfile
@@ -52,7 +54,9 @@ jobs:
5254
- name: Build and push amd64 Debug Docker Image to DockerHub
5355
uses: docker/build-push-action@v2
5456
with:
55-
build-args: DEBUG_BUILD=1,BASE_IMAGE_SUFFIX=-debug
57+
build-args: |
58+
DEBUG_BUILD=1
59+
BASE_IMAGE_SUFFIX=-debug
5660
builder: ${{ steps.buildx.outputs.name }}
5761
context: .
5862
file: ./Dockerfile

0 commit comments

Comments
 (0)