Skip to content

Commit 19ff1cc

Browse files
committed
GitHub Actions: fix building of -debug release versions by fixing build-args syntax in workflow files
- master/latest was already fixed.
1 parent 7635152 commit 19ff1cc

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.github/workflows/tags.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
- name: Build and push amd64 Release Docker Image to DockerHub
5353
uses: docker/build-push-action@v2
5454
with:
55-
build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX=
55+
build-args: |
56+
DEBUG_BUILD=0
57+
BASE_IMAGE_SUFFIX=
5658
builder: ${{ steps.buildx.outputs.name }}
5759
context: .
5860
file: ./Dockerfile
@@ -65,7 +67,9 @@ jobs:
6567
- name: Build and push amd64 Debug Docker Image to DockerHub
6668
uses: docker/build-push-action@v2
6769
with:
68-
build-args: DEBUG_BUILD=1,BASE_IMAGE_SUFFIX=-debug
70+
build-args: |
71+
DEBUG_BUILD=1
72+
BASE_IMAGE_SUFFIX=-debug
6973
builder: ${{ steps.buildx.outputs.name }}
7074
context: .
7175
file: ./Dockerfile
@@ -80,7 +84,9 @@ jobs:
8084
- name: Build and push multiarch Release Docker Image to DockerHub
8185
uses: docker/build-push-action@v2
8286
with:
83-
build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX=
87+
build-args: |
88+
DEBUG_BUILD=0
89+
BASE_IMAGE_SUFFIX=
8490
builder: ${{ steps.buildx.outputs.name }}
8591
context: .
8692
file: ./Dockerfile
@@ -93,7 +99,9 @@ jobs:
9399
- name: Build and push multiarch Debug Docker Image to DockerHub
94100
uses: docker/build-push-action@v2
95101
with:
96-
build-args: DEBUG_BUILD=1,BASE_IMAGE_SUFFIX=-debug
102+
build-args: |
103+
DEBUG_BUILD=1
104+
BASE_IMAGE_SUFFIX=-debug
97105
builder: ${{ steps.buildx.outputs.name }}
98106
context: .
99107
file: ./Dockerfile

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- name: Build amd64 release image locally to Docker
4141
uses: docker/build-push-action@v2
4242
with:
43-
build-args: DEBUG_BUILD=0,BASE_IMAGE_SUFFIX=
43+
build-args: |
44+
DEBUG_BUILD=0
45+
BASE_IMAGE_SUFFIX=
4446
builder: ${{ steps.buildx.outputs.name }}
4547
context: .
4648
file: ./Dockerfile

0 commit comments

Comments
 (0)