Skip to content

Commit 7ed3e2d

Browse files
authored
Update build.yml
1 parent c9b84b2 commit 7ed3e2d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,46 +14,46 @@ jobs:
1414
submodules: true
1515

1616
- name: Set up QEMU
17-
uses: docker/setup-qemu-action@v1
17+
uses: docker/setup-qemu-action@v3
1818

1919
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@v1
20+
uses: docker/setup-buildx-action@v3
2121

2222
- name: Cache Docker layers
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
2525
path: /tmp/.buildx-cache
2626
key: ${{ runner.os }}-buildx-${{ github.sha }}
2727
restore-keys: |
2828
${{ runner.os }}-buildx-
2929
3030
- name: Login to DockerHub
31-
uses: docker/login-action@v1
31+
uses: docker/login-action@v3
3232
with:
3333
username: ${{ secrets.DOCKERHUB_USERNAME }}
3434
password: ${{ secrets.DOCKERHUB_TOKEN }}
3535

3636
- name: Login to GitHub Container Registry
37-
uses: docker/login-action@v1
37+
uses: docker/login-action@v3
3838
with:
3939
registry: ghcr.io
4040
username: ${{ github.repository_owner }}
4141
password: ${{ secrets.GITHUB_TOKEN }}
4242

4343
- name: Lower case for Docker Hub
4444
id: dh_string
45-
uses: ASzc/change-string-case-action@v1
45+
uses: ASzc/change-string-case-action@v6
4646
with:
4747
string: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
4848

4949
- name: Lower case for ghcr
5050
id: ghcr_string
51-
uses: ASzc/change-string-case-action@v1
51+
uses: ASzc/change-string-case-action@v6
5252
with:
5353
string: ${{ github.event.repository.full_name }}
5454

5555
- name: Build and push
56-
uses: docker/build-push-action@v2
56+
uses: docker/build-push-action@v6
5757
with:
5858
context: .
5959
platforms: linux/amd64,linux/arm64
@@ -68,4 +68,4 @@ jobs:
6868
- name: Move cache
6969
run: |
7070
rm -rf /tmp/.buildx-cache
71-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
71+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 commit comments

Comments
 (0)