We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea963d1 commit 337ea4cCopy full SHA for 337ea4c
.github/workflows/build.yml
@@ -38,6 +38,8 @@ jobs:
38
with:
39
lfs: true
40
fetch-depth: 0
41
+ - name: Set up Docker Buildx
42
+ uses: docker/setup-buildx-action@v3
43
# Use docker to build current directory ./Dockfile
44
- name: Login to GitHub Container Registry
45
uses: docker/login-action@v1
@@ -48,5 +50,7 @@ jobs:
48
50
49
51
- name: Build and push the Docker image
52
run: |
- docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
- docker push ghcr.io/anduin2017/how-to-cook:latest
53
+ docker buildx build \
54
+ --platform linux/amd64,linux/arm64 \
55
+ --tag ghcr.io/anduin2017/how-to-cook:latest \
56
+ --push .
0 commit comments