Skip to content

Commit d8078cb

Browse files
authored
update workflow
1 parent e9c8601 commit d8078cb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/builder.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,51 +9,51 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
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/arm,linux/amd64,linux/arm64

0 commit comments

Comments
 (0)