Skip to content

Commit b74ffc9

Browse files
authored
Publish both amd64 and arm64 platforms
1 parent 9b3d31e commit b74ffc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dockerhub.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@ jobs:
1010
steps:
1111
- name: Checkout repo
1212
uses: actions/checkout@v3
13+
1314
- name: Set up Docker Buildx
1415
uses: docker/setup-buildx-action@v2
16+
1517
- name: Login to Docker Hub
1618
uses: docker/login-action@v2
1719
with:
1820
username: ${{ secrets.DOCKER_USER }}
1921
password: ${{ secrets.DOCKER_PASSWORD }}
22+
2023
- name: Build and push
2124
uses: docker/build-push-action@v4
2225
with:
2326
push: true
27+
platforms: linux/amd64,linux/arm64
2428
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.DOCKER_REPO }}:latest,${{ secrets.DOCKER_USER }}/${{ secrets.DOCKER_REPO }}:${{ github.sha }}

0 commit comments

Comments
 (0)