Skip to content

Commit 802f116

Browse files
authored
Merge pull request #1 from smartondev/feature/buildx-arm64
enh: update Docker Buildx action to v6.18.0 and specify target platfo…
2 parents 716e8c8 + b7b49e3 commit 802f116

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/build-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
- name: Set up Docker Buildx
1919
uses: docker/setup-buildx-action@v2
2020
- name: Build
21-
uses: docker/build-push-action@v3
21+
uses: docker/build-push-action@v6.18.0
2222
with:
2323
context: .
2424
file: ./Dockerfile
2525
push: false
26+
platforms: linux/amd64,linux/arm64

.github/workflows/main-docker-pull-nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- name: Set up Docker Buildx
2424
uses: docker/setup-buildx-action@v2
2525
- name: Build and push
26-
uses: docker/build-push-action@v3
26+
uses: docker/build-push-action@v6.18.0
2727
with:
2828
context: .
2929
file: ./Dockerfile
3030
push: true
31+
platforms: linux/amd64,linux/arm64
3132
tags: "${{ secrets.DOCKERHUB_USERNAME }}/tor-client:nightly"

.github/workflows/main-docker-pull.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
- name: Set up Docker Buildx
1919
uses: docker/setup-buildx-action@v2
2020
- name: Build and push
21-
uses: docker/build-push-action@v3
21+
uses: docker/build-push-action@v6.18.0
2222
with:
2323
context: .
2424
file: ./Dockerfile
2525
push: true
26+
platforms: linux/amd64,linux/arm64
2627
tags: |
2728
"${{ secrets.DOCKERHUB_USERNAME }}/tor-client:${{ github.event.release.tag_name }}"
2829
"${{ secrets.DOCKERHUB_USERNAME }}/tor-client:latest"

0 commit comments

Comments
 (0)