Skip to content

Commit b1d309f

Browse files
committed
fix: support new Dockerfile structure in PR builds
1 parent 4251453 commit b1d309f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ jobs:
6565
tags: ${{ steps.docker_metadata.outputs.tags }}
6666
labels: ${{ steps.docker_metadata.outputs.labels }}
6767
file: Dockerfile
68-
build-args: BINARY=${{ matrix.binary }}
69-
context: dist/${{ matrix.binary }}_linux_amd64_v1
68+
build-args: |
69+
BINARY=${{ matrix.binary }}
70+
TARGETPLATFORM=${{ matrix.binary }}_linux_amd64_v1
71+
context: dist
7072
check-tag:
7173
permissions:
7274
contents: read

0 commit comments

Comments
 (0)