Skip to content

Commit 03adb26

Browse files
committed
ci(workflow): update Docker actions to latest versions
1 parent b6ab9e3 commit 03adb26

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ permissions:
99
packages: write
1010

1111
jobs:
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 .

0 commit comments

Comments
 (0)