Skip to content

Commit dd29719

Browse files
author
marwan37
committed
add linux/amd64 to tell docker to only pull the amd64 variant and avoid 'no match for platform' failure
1 parent 761af1d commit dd29719

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-push-codespace.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ jobs:
153153

154154
- name: Set up Docker Buildx
155155
uses: docker/setup-buildx-action@v2
156+
with:
157+
platforms: linux/amd64
156158

157159
- name: Login to DockerHub
158160
uses: docker/login-action@v2
@@ -166,6 +168,7 @@ jobs:
166168
context: .
167169
file: ${{ matrix.project }}/Dockerfile.codespace
168170
push: true
171+
platforms: linux/amd64
169172
tags: zenmldocker/projects-${{ matrix.project }}:${{ steps.timestamp.outputs.timestamp }}
170173
cache-from: type=gha
171174
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)