Skip to content

Commit 416e517

Browse files
committed
Update GitHub Actions' versions
1 parent c0c1fe6 commit 416e517

File tree

5 files changed

+26
-29
lines changed

5 files changed

+26
-29
lines changed

.github/workflows/description.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ jobs:
1414
environment: DOCKER_HUB
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
18-
19-
- name: Set up QEMU
20-
uses: docker/setup-qemu-action@v2
17+
uses: actions/checkout@v4
2118

2219
- name: Update repo description
23-
uses: peter-evans/dockerhub-description@v3
20+
uses: peter-evans/dockerhub-description@v4
2421
with:
2522
username: ${{ secrets.DOCKERHUB_USERNAME }}
2623
password: ${{ secrets.DOCKERHUB_PASSWORD }}

.github/workflows/image-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
environment: DOCKER_HUB
4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848

4949
- name: Docker meta
5050
id: meta
51-
uses: docker/metadata-action@v4
51+
uses: docker/metadata-action@v5
5252
with:
5353
images: |
5454
${{ inputs.image-name }}
@@ -65,26 +65,26 @@ jobs:
6565
type=raw,value=latest,enable=${{ inputs.is-latest }}
6666
6767
- name: Set up QEMU
68-
uses: docker/setup-qemu-action@v2
68+
uses: docker/setup-qemu-action@v3
6969

7070
- name: Set up Docker Buildx
71-
uses: docker/setup-buildx-action@v2
71+
uses: docker/setup-buildx-action@v3
7272

7373
- name: Login to GitHub Registry
74-
uses: docker/login-action@v2
74+
uses: docker/login-action@v3
7575
with:
7676
registry: ghcr.io
7777
username: ${{ secrets.ghcr-registry-username }}
7878
password: ${{ secrets.ghcr-registry-password }}
7979

8080
- name: Login to Docker Hub Registry
81-
uses: docker/login-action@v2
81+
uses: docker/login-action@v3
8282
with:
8383
username: ${{ secrets.docker-registry-username }}
8484
password: ${{ secrets.docker-registry-password }}
8585

8686
- name: Build and push
87-
uses: docker/build-push-action@v3
87+
uses: docker/build-push-action@v4
8888
with:
8989
platforms: ${{ inputs.platforms }}
9090
context: .

.github/workflows/nightly.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
steps:
1515

1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Docker meta
2020
id: meta
21-
uses: docker/metadata-action@v4
21+
uses: docker/metadata-action@v5
2222
with:
2323
# list of Docker images to use as base name for tags
2424
images: |
@@ -32,19 +32,19 @@ jobs:
3232
type=schedule,pattern=nightly-{{date 'YYYYMMDD'}}
3333
3434
- name: Set up QEMU
35-
uses: docker/setup-qemu-action@v2
35+
uses: docker/setup-qemu-action@v3
3636

3737
- name: Set up Docker Buildx
38-
uses: docker/setup-buildx-action@v2
38+
uses: docker/setup-buildx-action@v3
3939

4040
- name: Login to DockerHub
41-
uses: docker/login-action@v2
41+
uses: docker/login-action@v3
4242
with:
4343
username: ${{ secrets.DOCKERHUB_USERNAME }}
4444
password: ${{ secrets.DOCKERHUB_TOKEN }}
4545

4646
- name: Build and push
47-
uses: docker/build-push-action@v3
47+
uses: docker/build-push-action@v4
4848
with:
4949
platforms: linux/amd64,linux/arm64
5050
context: .

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
PLONE_VERSION: ${{ steps.vars.outputs.PLONE_VERSION }}
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
- name: Set BASE_IMAGE_NAME, IS_LATEST, PLATFORMS, PLONE_VERSION
2828
id: vars

.github/workflows/test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
PLONE_VERSION: ${{ steps.vars.outputs.PLONE_VERSION }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Compute SHA value to be used in building the main image
2323
id: vars
@@ -33,11 +33,11 @@ jobs:
3333
steps:
3434

3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
- name: Builder Image
3939
id: meta-builder
40-
uses: docker/metadata-action@v4
40+
uses: docker/metadata-action@v5
4141
with:
4242
images: |
4343
plone/server-builder
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Prod Config Image
4848
id: meta-prod-config
49-
uses: docker/metadata-action@v4
49+
uses: docker/metadata-action@v5
5050
with:
5151
images: |
5252
plone/server-prod-config
@@ -55,24 +55,24 @@ jobs:
5555
5656
- name: Main Image
5757
id: meta-main
58-
uses: docker/metadata-action@v4
58+
uses: docker/metadata-action@v5
5959
with:
6060
images: |
6161
plone/plone-backend
6262
tags: |
6363
type=sha
6464
6565
- name: Set up Docker Buildx
66-
uses: docker/setup-buildx-action@v2
66+
uses: docker/setup-buildx-action@v3
6767

6868
- name: Login to Docker Hub Container Registry
69-
uses: docker/login-action@v2
69+
uses: docker/login-action@v3
7070
with:
7171
username: ${{ secrets.DOCKERHUB_USERNAME }}
7272
password: ${{ secrets.DOCKERHUB_TOKEN }}
7373

7474
- name: Build builder image for testing
75-
uses: docker/build-push-action@v3
75+
uses: docker/build-push-action@v4
7676
with:
7777
context: ./
7878
file: Dockerfile.builder
@@ -82,15 +82,15 @@ jobs:
8282
PLONE_VERSION=${{ needs.meta.outputs.PLONE_VERSION }}
8383
8484
- name: Build prod-config image for testing
85-
uses: docker/build-push-action@v3
85+
uses: docker/build-push-action@v4
8686
with:
8787
context: ./
8888
file: Dockerfile.prod
8989
tags: ${{ steps.meta-prod-config.outputs.tags }}
9090
push: true
9191

9292
- name: Build main image for testing
93-
uses: docker/build-push-action@v3
93+
uses: docker/build-push-action@v4
9494
with:
9595
context: ./
9696
file: Dockerfile

0 commit comments

Comments
 (0)