Skip to content

Commit 6d7c473

Browse files
committed
ci: improve workflow names and bump actions to latest versions
1 parent 68fd017 commit 6d7c473

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Docker image
1+
name: Publish
22

33
on:
44
push:
@@ -39,21 +39,21 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343

4444
- name: Log in to GitHub Container Registry
45-
uses: docker/login-action@v3
45+
uses: docker/login-action@v4
4646
with:
4747
registry: ${{ env.REGISTRY }}
4848
username: ${{ github.actor }}
4949
password: ${{ secrets.GITHUB_TOKEN }}
5050

5151
- name: Set up Docker Buildx
52-
uses: docker/setup-buildx-action@v3
52+
uses: docker/setup-buildx-action@v4
5353

5454
- name: Extract metadata (tags, labels) for Docker
5555
id: meta
56-
uses: docker/metadata-action@v5
56+
uses: docker/metadata-action@v6
5757
with:
5858
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ github.event.repository.name }}
5959
tags: |
@@ -62,7 +62,7 @@ jobs:
6262
type=ref,event=tag # Add tag from git tag if event is a tag push (e.g., v1.0.0)
6363
6464
- name: Build and push Docker image
65-
uses: docker/build-push-action@v5
65+
uses: docker/build-push-action@v7
6666
with:
6767
context: .
6868
push: true

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Docker Build and Extensions
1+
name: Test
22

33
on:
44
push:
@@ -18,14 +18,14 @@ jobs:
1818
# POSTGIS_MAJOR_VERSION is set to 3 directly in build-args below
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222

2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v3
24+
uses: docker/setup-buildx-action@v4
2525

2626
- name: Build Docker image
2727
id: build
28-
uses: docker/build-push-action@v5
28+
uses: docker/build-push-action@v7
2929
with:
3030
context: .
3131
load: true # Load image into local Docker daemon for testing

0 commit comments

Comments
 (0)