File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ permissions:
99 packages : write
1010
1111jobs :
12- build :
13- runs-on : ubuntu-latest
14- steps :
15- - name : Checkout
16- uses : actions/checkout@v6
17- - name : Install Docker Emulation
18- run : docker run --rm --privileged tonistiigi/binfmt:latest --install amd64,arm64
19- - name : Set up Docker Buildx
20- uses : docker/setup-buildx-action@v3
21- - name : Login to GitHub Container Registry
22- run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
23- - name : Build and Push Multi-Arch Docker Image
24- run : |
25- docker buildx build --platform linux/amd64,linux/arm64 -t $(echo 'ghcr.io/${{ github.repository }}:${{ github.ref_name }}' | tr '[:upper:]' '[:lower:]') --push .
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+ - name : Install Docker Emulation
18+ run : docker run --rm --privileged tonistiigi/binfmt:latest --install amd64,arm64
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
21+ - name : Login to GitHub Container Registry
22+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
23+ - name : Build and Push Multi-Arch Docker Image
24+ run : |
25+ docker buildx build --platform linux/amd64,linux/arm64 -t $(echo 'ghcr.io/${{ github.repository }}:${{ github.ref_name }}' | tr '[:upper:]' '[:lower:]') --push .
You can’t perform that action at this time.
0 commit comments