Skip to content

Commit 3758af1

Browse files
committed
Update actions versions and artifact handling
Updated `actions/upload-artifact` to v4 and `actions/download-artifact` to v4 in `docker-image.yml`. The Docker image ID is now stored in `image_id.txt`, which is uploaded and downloaded as an artifact for improved workflow processing.
1 parent f81bab4 commit 3758af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
env:
2424
GITHUB_ENV: ${{ github.workspace }}/.env
2525
- name: Upload Docker image ID
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: docker-image-id
2929
path: image_id.txt
@@ -40,7 +40,7 @@ jobs:
4040
username: ${{ secrets.DOCKERHUB_USERNAME }}
4141
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4242
- name: Download Docker image ID
43-
uses: actions/download-artifact@v4.1.7
43+
uses: actions/download-artifact@v4
4444
with:
4545
name: docker-image-id
4646
- name: Tag and push Docker image to DockerHub

0 commit comments

Comments
 (0)