File tree Expand file tree Collapse file tree 1 file changed +2
-32
lines changed
Expand file tree Collapse file tree 1 file changed +2
-32
lines changed Original file line number Diff line number Diff line change 1313 build :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
17-
18- - name : Set up QEMU
19- uses : docker/setup-qemu-action@v3
20-
21- - name : Set up Docker Buildx
22- uses : docker/setup-buildx-action@v3
23-
24- - name : Login to Docker Hub
25- uses : docker/login-action@v3
26- with :
27- username : ${{ vars.DOCKERHUB_USERNAME }}
28- password : ${{ secrets.DOCKERHUB_TOKEN }}
29-
30- - name : Login to GitHub Container Registry
31- uses : docker/login-action@v3
32- with :
33- registry : ghcr.io
34- username : ${{ github.actor }}
35- password : ${{ secrets.GITHUB_TOKEN }}
36-
3716 - name : Build and push
38- uses : docker/build-push-action@v6
39- id : build
17+ uses : aroglahcim/github-actions/build-and-push@main
4018 with :
41- platforms : linux/amd64,linux/arm64
42- push : true
43- tags : |
44- ghcr.io/${{ github.repository }}:${{ github.sha }},
45- ghcr.io/${{ github.repository }}:latest,
46- ${{ github.repository }}:${{ github.sha }}
47- ${{ github.repository }}:latest
48- cache-from : type=gha
49- cache-to : type=gha,mode=max
19+ platforms : linux/amd64
You can’t perform that action at this time.
0 commit comments