Skip to content

Commit 53ed7e5

Browse files
committed
[TASK] Upgrade GitHub Actions to latest versions
- .github/workflows/ci.yml: - actions/checkout v4 → v6 - docker/setup-buildx-action v3 → v4 - docker/build-push-action v5/v6 → v7 - actions/upload-artifact v4 → v7 - actions/download-artifact v4 → v8 - docker/setup-qemu-action v2 → v4 - docker/metadata-action v5 → v6 - docker/login-action v2 → v4 Fixes: #4597
1 parent f93ac52 commit 53ed7e5

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
-
3434
name: Checkout current state of Pull Request
3535
if: github.event_name == 'pull_request'
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737
with:
3838
ref: ${{ github.event.pull_request.head.sha }}
3939
-
4040
name: Checkout current state of Branch
4141
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343
# End: Workaround for issue with actions/checkout...
4444
-
4545
name: Collect build matrix
@@ -53,10 +53,10 @@ jobs:
5353
echo "matrix=$(echo $matrix)" >> $GITHUB_OUTPUT
5454
-
5555
name: Set up Docker Buildx
56-
uses: docker/setup-buildx-action@v3
56+
uses: docker/setup-buildx-action@v4
5757
-
5858
name: Build Docker image
59-
uses: docker/build-push-action@v5
59+
uses: docker/build-push-action@v7
6060
with:
6161
context: .
6262
file: ./Docker/SolrServer/Dockerfile
@@ -72,14 +72,14 @@ jobs:
7272
./Build/Test/cibuild_docker.sh
7373
-
7474
name: Upload Docker Image
75-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@v7
7676
with:
7777
name: solrci-image
7878
path: /tmp/solrci-image.tar
7979
retention-days: 1
8080
-
8181
name: Upload Solr-Server containers logs
82-
uses: actions/upload-artifact@v4
82+
uses: actions/upload-artifact@v7
8383
if: always()
8484
with:
8585
name: solrci-logs
@@ -92,13 +92,13 @@ jobs:
9292
# Workaround for issue with actions/checkout "wrong PR commit checkout". See: ci_bootstrapping job
9393
- name: Checkout current state of Pull Request
9494
if: github.event_name == 'pull_request'
95-
uses: actions/checkout@v4
95+
uses: actions/checkout@v6
9696
with:
9797
fetch-depth: 2
9898
ref: ${{ github.event.pull_request.head.sha }}
9999
- name: Checkout current state of Branch
100100
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@v6
102102
with:
103103
fetch-depth: 2
104104
# End: Workaround for issue with actions/checkout...
@@ -126,14 +126,14 @@ jobs:
126126
-
127127
name: Checkout current state of Pull Request
128128
if: github.event_name == 'pull_request'
129-
uses: actions/checkout@v4
129+
uses: actions/checkout@v6
130130
with:
131131
fetch-depth: 2
132132
ref: ${{ github.event.pull_request.head.sha }}
133133
-
134134
name: Checkout current state of Branch
135135
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
136-
uses: actions/checkout@v4
136+
uses: actions/checkout@v6
137137
with:
138138
fetch-depth: 2
139139
# End: Workaround for issue with actions/checkout...
@@ -147,10 +147,10 @@ jobs:
147147
&& sudo chown 8983:8983 ${{ env.CI_BUILD_DIRECTORY }}/data-solr
148148
-
149149
name: Set up Docker Buildx
150-
uses: docker/setup-buildx-action@v3
150+
uses: docker/setup-buildx-action@v4
151151
-
152152
name: Download solrci-image from "ci_bootstrapping" job
153-
uses: actions/download-artifact@v4
153+
uses: actions/download-artifact@v8
154154
with:
155155
name: solrci-image
156156
path: /tmp
@@ -210,7 +210,7 @@ jobs:
210210
DOCKER_HUB_IMAGE_NAME: "${{ secrets.DOCKERHUB_USERNAME }}/ext-solr"
211211
steps:
212212
- name: Checkout
213-
uses: actions/checkout@v4
213+
uses: actions/checkout@v6
214214

215215
- name: enrich Environment Variables
216216
id: env
@@ -221,7 +221,7 @@ jobs:
221221
222222
- name: Docker metadata
223223
id: meta
224-
uses: docker/metadata-action@v5
224+
uses: docker/metadata-action@v6
225225
with:
226226
images: |
227227
${{ env.DOCKER_HUB_IMAGE_NAME }}
@@ -248,22 +248,22 @@ jobs:
248248
249249
-
250250
name: Set up QEMU
251-
uses: docker/setup-qemu-action@v2
251+
uses: docker/setup-qemu-action@v4
252252

253253
-
254254
name: Set up Docker Buildx
255-
uses: docker/setup-buildx-action@v3
255+
uses: docker/setup-buildx-action@v4
256256

257257
-
258258
name: Login to Docker Hub
259-
uses: docker/login-action@v2
259+
uses: docker/login-action@v4
260260
with:
261261
username: ${{ secrets.DOCKERHUB_USERNAME }}
262262
password: ${{ secrets.DOCKERHUB_TOKEN }}
263263

264264
-
265265
name: Build and push
266-
uses: docker/build-push-action@v6
266+
uses: docker/build-push-action@v7
267267
with:
268268
context: .
269269
file: ./Docker/SolrServer/Dockerfile
@@ -282,7 +282,7 @@ jobs:
282282
steps:
283283
-
284284
name: Checkout repository
285-
uses: actions/checkout@v4
285+
uses: actions/checkout@v6
286286
with:
287287
ref: ${{ github.event.pull_request.head.sha }}
288288
-

0 commit comments

Comments
 (0)