File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -66,17 +66,22 @@ jobs:
6666 docker :
6767 runs-on : ubuntu-20.04
6868 steps :
69- - name : Checkout
70- uses : actions/checkout@v2
71-
72- - name : Log in to Docker Hub
73- uses : docker/login-action@v2
69+ -
70+ name : Set up QEMU
71+ uses : docker/setup-qemu-action@v3
72+ -
73+ name : Set up Docker Buildx
74+ uses : docker/setup-buildx-action@v3
75+ -
76+ name : Log in to Docker Hub
77+ uses : docker/login-action@v3
7478 with :
7579 username : ${{ secrets.DOCKER_HUB_USERNAME }}
7680 password : ${{ secrets.DOCKER_HUB_PASSWORD }}
77-
78- - name : Build and push app Docker image
79- uses : docker/build-push-action@v2
81+ -
82+ name : Build and push app Docker image
83+ uses : docker/build-push-action@v6
8084 with :
85+ platforms : linux/amd64,linux/arm64
8186 push : true
8287 tags : ${{ secrets.DOCKER_HUB_USERNAME }}/admission-api:latest
You can’t perform that action at this time.
0 commit comments