We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8892a5 commit 2b67928Copy full SHA for 2b67928
.github/workflows/build-image.yml
@@ -17,6 +17,12 @@ jobs:
17
- name: Checkout repository
18
uses: actions/checkout@v4
19
20
+ - name: Set up QEMU
21
+ uses: docker/setup-qemu-action@v3
22
+
23
+ - name: Set up Docker Buildx
24
+ uses: docker/setup-buildx-action@v3
25
26
- name: Log in to GitHub Container Registry
27
uses: docker/login-action@v3
28
with:
@@ -33,7 +39,9 @@ jobs:
33
39
34
40
context: .
35
41
file: ./Dockerfile
36
- push: true # Push the image after building
42
+ platforms: linux/amd64,linux/arm64 # Build for multiple architectures
43
+ push: true
37
44
tags: |
38
45
ghcr.io/${{ env.repo }}:latest
- ghcr.io/${{ env.repo }}:${{ github.sha }}
46
+ ghc.io/${{ env.repo }}:${{ github.sha }}
47
0 commit comments