Skip to content

Commit 6d9a54f

Browse files
committed
Update GitHub Actions workflow to use latest action versions
- Bumped actions/upload-artifact from v6 to v7 and v7 to v8 for improved functionality. - Updated docker/login-action from v3 to v4 for enhanced security and features.
1 parent 44fac4e commit 6d9a54f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/service_docker-build-and-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
echo "${MATRIX_JSON}" | jq '.'
6868
6969
- name: Upload the php-versions.yml file
70-
uses: actions/upload-artifact@v6
70+
uses: actions/upload-artifact@v7
7171
with:
7272
name: php-versions.yml
7373
path: ${{ inputs.php-versions-file }}
@@ -85,7 +85,7 @@ jobs:
8585
ref: ${{ inputs.ref }}
8686

8787
- name: Download PHP Versions file
88-
uses: actions/download-artifact@v7
88+
uses: actions/download-artifact@v8
8989
with:
9090
name: php-versions.yml
9191
path: ./artifacts
@@ -100,14 +100,14 @@ jobs:
100100
# Docker build & publish
101101
##
102102
- name: Login to DockerHub
103-
uses: docker/login-action@v3
103+
uses: docker/login-action@v4
104104
if: ${{ inputs.push-to-registry }}
105105
with:
106106
username: ${{ secrets.DOCKER_HUB_USERNAME }}
107107
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
108108

109109
- name: Login to GitHub Container Registry
110-
uses: docker/login-action@v3
110+
uses: docker/login-action@v4
111111
if: ${{ inputs.push-to-registry && inputs.authenticate_with_ghcr }}
112112
with:
113113
registry: ghcr.io

0 commit comments

Comments
 (0)