We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d1f381 commit 3786be6Copy full SHA for 3786be6
1 file changed
.github/workflows/docker-build.yml
@@ -18,8 +18,8 @@ jobs:
18
permissions:
19
packages: write
20
steps:
21
- - name: Checkout repository
22
- uses: actions/checkout@v4
+ - name: Setup Docker Buildx
+ uses: docker/setup-buildx-action@v3
23
24
- name: Log in to GHCR
25
uses: docker/login-action@v3
@@ -28,10 +28,9 @@ jobs:
28
username: ${{ github.actor }}
29
password: ${{ secrets.GITHUB_TOKEN }}
30
31
- - name: Build the Docker image
32
- run: |
33
- docker build -t ghcr.io/${{ github.repository }}:latest .
34
-
35
- - name: Push the Docker image
36
37
- docker push ghcr.io/${{ github.repository }}:latest
+ - name: Build and push
+ uses: docker/build-push-action@v6
+ with:
+ platforms: linux/amd64,linux/arm64
+ push: true
+ tags: ghcr.io/${{ github.repository }}:latest
0 commit comments