7
7
name : Docker image test
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
10
+ - uses : actions/checkout@v4
11
11
12
12
- name : Modify scripts and get version
13
13
id : version
14
- uses : actions/github-script@v6
14
+ uses : actions/github-script@v7
15
15
with :
16
16
script : |
17
17
const date = new Date();
@@ -25,13 +25,13 @@ jobs:
25
25
core.setOutput('version', `${d}-${context.sha.substring(0, 7)}`);
26
26
27
27
- name : Set up QEMU
28
- uses : docker/setup-qemu-action@v2
28
+ uses : docker/setup-qemu-action@v3
29
29
30
30
- name : Set up Docker Buildx
31
- uses : docker/setup-buildx-action@v2
31
+ uses : docker/setup-buildx-action@v3
32
32
33
33
- name : Cache Docker layers
34
- uses : actions/cache@v3
34
+ uses : actions/cache@v4
35
35
with :
36
36
path : /tmp/.buildx-cache
37
37
key : ${{ runner.os }}-buildx-${{ github.sha }}
47
47
sed -i -r 's/mediawiki:latest/mediawiki:ci-test/g' docker-compose.yml
48
48
49
49
- name : Build a test image on amd64 and cache
50
- uses : docker/build-push-action@v3
50
+ uses : docker/build-push-action@v6
51
51
with :
52
52
platforms : linux/amd64
53
53
cache-from : |
@@ -121,14 +121,14 @@ jobs:
121
121
# Docker Registry login
122
122
- name : Login to GitHub Container Registry
123
123
if : ${{ github.repository_owner == 'ShinyColorsWiki' && github.ref == 'refs/heads/master' }}
124
- uses : docker/login-action@v2
124
+ uses : docker/login-action@v3
125
125
with :
126
126
registry : ghcr.io
127
127
username : ${{ github.repository_owner }}
128
128
password : ${{ secrets.GITHUB_TOKEN }}
129
129
130
130
- name : Login to Quay.io Container Registry
131
- uses : docker/login-action@v2
131
+ uses : docker/login-action@v3
132
132
if : ${{ github.repository_owner == 'ShinyColorsWiki' && github.ref == 'refs/heads/master' }}
133
133
with :
134
134
registry : quay.io
@@ -137,7 +137,7 @@ jobs:
137
137
138
138
# Build and push
139
139
- name : Build a multi-platform docker image and push (for master)
140
- uses : docker/build-push-action@v3
140
+ uses : docker/build-push-action@v6
141
141
with :
142
142
platforms : linux/amd64,linux/arm64
143
143
cache-from : |
@@ -172,7 +172,7 @@ jobs:
172
172
if : ${{ github.repository_owner == 'ShinyColorsWiki' && github.ref == 'refs/heads/master' }}
173
173
steps :
174
174
- name : Repository Dispatch
175
- uses : peter-evans/repository-dispatch@v2
175
+ uses : peter-evans/repository-dispatch@v3
176
176
with :
177
177
token : ${{ secrets.BOT_PA_TOKEN }}
178
178
repository : ${{ secrets.REPO_NAME }}
0 commit comments