Skip to content

Commit 2e9b4f4

Browse files
committed
ci: modify Docker build step to use custom buildx command
1 parent 391ce16 commit 2e9b4f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-gateway.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
type=raw,value=latest,enable={{is_default_branch}}
5151
5252
- name: Build and push Docker image
53-
uses: docker/build-push-action@v5
53+
run: |
54+
docker buildx build --platform=linux/arm64 --file=Dockerfile.build --build-arg TARGETARCH=arm64 -t test .
5455
with:
5556
context: /tmp/gateway
5657
file: /tmp/gateway/Dockerfile.build

0 commit comments

Comments
 (0)