Skip to content

Commit 60c6dd1

Browse files
authored
ci: upgrade workflow
1 parent d5b3fde commit 60c6dd1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4141
- name: Clone repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
- name: Get artifact name
4545
id: getartifactname
@@ -51,7 +51,7 @@ jobs:
5151
# - all releases are tags with major, major.minor and version
5252
- name: Docker meta
5353
id: meta
54-
uses: docker/metadata-action@v4
54+
uses: docker/metadata-action@v5
5555
with:
5656
images: ${{ matrix.image }}
5757
flavor: |
@@ -64,10 +64,10 @@ jobs:
6464
type=semver,enable=${{ github.ref_type == 'tag' }},pattern={{version}}
6565
6666
- name: Setup QEMU
67-
uses: docker/setup-qemu-action@v2
67+
uses: docker/setup-qemu-action@v3
6868

6969
- name: Setup Docker Build-X
70-
uses: docker/setup-buildx-action@v2
70+
uses: docker/setup-buildx-action@v3
7171

7272
- name: Login to Github Registry
7373
uses: docker/login-action@v2
@@ -89,7 +89,7 @@ jobs:
8989
9090
- name: Build and push by digest
9191
id: build
92-
uses: docker/build-push-action@v4
92+
uses: docker/build-push-action@v5
9393
with:
9494
context: .
9595
platforms: ${{ matrix.platform }}
@@ -105,7 +105,7 @@ jobs:
105105
touch "/tmp/digests/${digest#sha256:}"
106106
107107
- name: Upload digest
108-
uses: actions/upload-artifact@v3
108+
uses: actions/upload-artifact@v4
109109
with:
110110
name: ${{ steps.getartifactname.outputs.artifact }}
111111
path: /tmp/digests/*
@@ -134,11 +134,11 @@ jobs:
134134
path: /tmp/digests
135135

136136
- name: Set up Docker Build-X
137-
uses: docker/setup-buildx-action@v2
137+
uses: docker/setup-buildx-action@v3
138138

139139
- name: Docker meta
140140
id: meta
141-
uses: docker/metadata-action@v4
141+
uses: docker/metadata-action@v5
142142
with:
143143
images: ${{ matrix.image }}
144144
tags: |
@@ -149,14 +149,14 @@ jobs:
149149
type=semver,enable=${{ github.ref_type == 'tag' }},pattern={{version}}
150150
151151
- name: Login to Github Registry
152-
uses: docker/login-action@v2
152+
uses: docker/login-action@v3
153153
with:
154154
registry: ghcr.io
155155
username: ${{ secrets.GHCR_USERNAME }}
156156
password: ${{ secrets.GHCR_TOKEN }}
157157

158158
- name: Login to Docker Hub
159-
uses: docker/login-action@v2
159+
uses: docker/login-action@v3
160160
with:
161161
registry: docker.io
162162
username: ${{ secrets.DOCKER_USERNAME }}

0 commit comments

Comments
 (0)