We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9b4f4 commit a332f78Copy full SHA for a332f78
.github/workflows/build-gateway.yml
@@ -25,6 +25,10 @@ jobs:
25
run: |
26
git clone https://github.com/centralmind/gateway.git /tmp/gateway
27
28
+ - name: Remove TARGETARCH default from Dockerfile.build
29
+ run: |
30
+ sed -i '/^ARG TARGETARCH=amd64$/d' /tmp/gateway/Dockerfile.build
31
+
32
- name: Set up QEMU
33
uses: docker/setup-qemu-action@v3
34
@@ -50,8 +54,7 @@ jobs:
50
54
type=raw,value=latest,enable={{is_default_branch}}
51
55
52
56
- name: Build and push Docker image
53
- run: |
- docker buildx build --platform=linux/arm64 --file=Dockerfile.build --build-arg TARGETARCH=arm64 -t test .
57
+ uses: docker/build-push-action@v5
58
with:
59
context: /tmp/gateway
60
file: /tmp/gateway/Dockerfile.build
0 commit comments