This repository was archived by the owner on Oct 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,25 +10,32 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Check out the repo
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414
15- - name : Log in to Docker Hub
16- uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
15+ - name : Set up QEMU
16+ uses : docker/setup-qemu-action@v3
17+
18+ - name : Set up Docker Buildx
19+ uses : docker/setup-buildx-action@v3
20+
21+ - name : Login to Docker Hub
22+ uses : docker/login-action@v3
1723 with :
1824 username : ${{ secrets.DOCKER_USERNAME }}
1925 password : ${{ secrets.DOCKER_PASSWORD }}
20-
26+
2127 - name : Extract metadata (tags, labels) for Docker
2228 id : meta
23- uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
29+ uses : docker/metadata-action@v5
2430 with :
2531 images : swetrix/swetrix-fe
2632
2733 - name : Build and push Docker image
28- uses : docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
34+ uses : docker/build-push-action@v5
2935 with :
3036 context : .
3137 file : ./Dockerfile
38+ platforms : linux/amd64,linux/arm64
3239 push : true
3340 tags : ${{ steps.meta.outputs.tags }}
3441 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments