Skip to content

Commit ed3a501

Browse files
chore(actions): update github-actions (#17)
1 parent c926670 commit ed3a501

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
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-website.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Setup Pages
4949
id: pages
50-
uses: actions/configure-pages@v3
50+
uses: actions/configure-pages@v4
5151

5252
- name: Get node version from package.json
5353
id: get_node_version
@@ -56,7 +56,7 @@ jobs:
5656
echo "::set-output name=node_version::${node_version}"
5757
5858
- name: Setup Node
59-
uses: actions/setup-node@v3
59+
uses: actions/setup-node@v4
6060
with:
6161
node-version: ${{ steps.get_node_version.outputs.node_version }}
6262

@@ -79,7 +79,7 @@ jobs:
7979
--baseURL "${{ steps.pages.outputs.base_url }}/"
8080
8181
- name: Upload artifact
82-
uses: actions/upload-pages-artifact@v2
82+
uses: actions/upload-pages-artifact@v3
8383
with:
8484
path: website/public
8585

@@ -93,4 +93,4 @@ jobs:
9393
steps:
9494
- name: Deploy to GitHub Pages
9595
id: deployment
96-
uses: actions/deploy-pages@v2
96+
uses: actions/deploy-pages@v4

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
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)