18
18
19
19
- name : Get changed files
20
20
id : changed-files
21
- uses : tj-actions/changed-files@v37
21
+ uses : tj-actions/changed-files@v42
22
22
with :
23
23
dir_names : " true"
24
24
since_last_remote_commit : true
63
63
matrix : ${{fromJson(needs.matrix.outputs.plugin)}}
64
64
65
65
steps :
66
- - uses : actions/checkout@v3
66
+ - uses : actions/checkout@v4
67
67
with :
68
68
fetch-depth : 0
69
69
@@ -82,17 +82,17 @@ jobs:
82
82
83
83
- name : Check if Dockerfile exists
84
84
id : check_dockerfile
85
- uses : andstor/file-existence-action@v2
85
+ uses : andstor/file-existence-action@v3
86
86
with :
87
87
files : " ${{ matrix.plugin }}/task/Dockerfile"
88
88
89
89
- name : Set up QEMU
90
90
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' }}
91
- uses : docker/setup-qemu-action@v2
91
+ uses : docker/setup-qemu-action@v3
92
92
93
93
- name : Set up Docker Buildx
94
94
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' }}
95
- uses : docker/setup-buildx-action@v2
95
+ uses : docker/setup-buildx-action@v3
96
96
97
97
- name : Login to DockerHub
98
98
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' }}
@@ -103,15 +103,15 @@ jobs:
103
103
104
104
- name : Login to GitHub container Registry
105
105
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' }}
106
- uses : docker/login-action@v2
106
+ uses : docker/login-action@v3
107
107
with :
108
108
registry : ghcr.io
109
109
username : ${{ github.actor }}
110
110
password : ${{ secrets.GITHUB_TOKEN }}
111
111
112
112
- name : Build and push
113
113
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' }}
114
- uses : docker/build-push-action@v3
114
+ uses : docker/build-push-action@v5
115
115
with :
116
116
context : ${{ matrix.plugin }}/task
117
117
push : true
@@ -120,7 +120,7 @@ jobs:
120
120
121
121
- name : Update README in DockerHub
122
122
if : ${{ steps.check_dockerfile.outputs.files_exists == 'true' && env.branch == 'main' }}
123
- uses : peter-evans/dockerhub-description@v3
123
+ uses : peter-evans/dockerhub-description@v4
124
124
with :
125
125
username : ${{ secrets.DOCKERHUB_USERNAME }}
126
126
password : ${{ secrets.DOCKERHUB_TOKEN }}
0 commit comments