Skip to content

Commit 61be848

Browse files
chore(actions): update github-actions
1 parent 3fd9daf commit 61be848

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: Setup go
31-
uses: actions/setup-go@v4
31+
uses: actions/setup-go@v5
3232
with:
3333
go-version-file: go.mod
3434

@@ -85,7 +85,7 @@ jobs:
8585
uses: actions/checkout@v4
8686

8787
- name: Setup Docker Buildx
88-
uses: docker/setup-buildx-action@v2
88+
uses: docker/setup-buildx-action@v3
8989

9090
- name: Prepare repository name
9191
id: prepare-repository-name
@@ -95,12 +95,12 @@ jobs:
9595
9696
- name: Extract metadata (tags, labels) for Docker
9797
id: extract-metadata
98-
uses: docker/metadata-action@v4
98+
uses: docker/metadata-action@v5
9999
with:
100100
images: ${{ steps.prepare-repository-name.outputs.repository }}
101101

102102
- name: Build Docker image
103-
uses: docker/build-push-action@v4
103+
uses: docker/build-push-action@v5
104104
with:
105105
platforms: linux/amd64,linux/arm64
106106
context: .
@@ -118,7 +118,7 @@ jobs:
118118
labels: ${{ steps.extract-metadata.outputs.labels }}
119119

120120
- name: Upload Docker image archive
121-
uses: actions/upload-artifact@v3
121+
uses: actions/upload-artifact@v4
122122
with:
123123
name: image.tar
124124
path: ${{ runner.temp }}/image.tar

.github/workflows/publish.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
uses: actions/checkout@v4
3131

3232
- name: Setup Docker Buildx
33-
uses: docker/setup-buildx-action@v2
33+
uses: docker/setup-buildx-action@v3
3434

3535
- name: Log in to the Container registry
36-
uses: docker/login-action@v2
36+
uses: docker/login-action@v3
3737
with:
3838
registry: ${{ env.REGISTRY }}
3939
username: ${{ github.actor }}
@@ -47,12 +47,12 @@ jobs:
4747
4848
- name: Extract metadata (tags, labels) for Docker
4949
id: extract-metadata
50-
uses: docker/metadata-action@v4
50+
uses: docker/metadata-action@v5
5151
with:
5252
images: ${{ steps.prepare-repository-name.outputs.repository }}
5353

5454
- name: Build and push Docker image
55-
uses: docker/build-push-action@v4
55+
uses: docker/build-push-action@v5
5656
with:
5757
platforms: linux/amd64,linux/arm64
5858
context: .

0 commit comments

Comments
 (0)