Skip to content

Commit 11b9867

Browse files
bot0419jim60105
authored andcommitted
chore: upgrade GitHub Actions to latest major versions
- Update actions/checkout from v4 to v5 for enhanced Node.js 24 support - Update actions/upload-artifact from v3 to v4 with unique artifact names - Update docker/build-push-action from v5 to v6 with build summary support - Ensure upload artifacts have unique names to comply with v4 requirements These updates bring compatibility with latest GitHub Actions runner versions and improved build reporting capabilities. Signed-off-by: Jim Chen <Jim@ChenJ.im>
1 parent a2d017a commit 11b9867

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/docker-reused-steps/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ runs:
5959

6060
- name: Build and push
6161
id: build_push
62-
uses: docker/build-push-action@v5
62+
uses: docker/build-push-action@v6
6363
with:
6464
context: .
6565
file: ./Dockerfile

.github/workflows/docker_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Steps represent a sequence of tasks that will be executed as part of the job
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333
with:
3434
submodules: true
3535

.github/workflows/scan.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
sparse-checkout: |
2121
.github/workflows/scan/html.tpl
@@ -33,9 +33,9 @@ jobs:
3333
output: "trivy-results-python.html"
3434

3535
- name: Upload Artifact
36-
uses: actions/upload-artifact@v3
36+
uses: actions/upload-artifact@v4
3737
with:
38-
name: trivy-results
38+
name: trivy-results-python
3939
path: trivy-results-python.html
4040
retention-days: 90
4141

@@ -45,7 +45,7 @@ jobs:
4545
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949
with:
5050
sparse-checkout: |
5151
.github/workflows/scan/html.tpl
@@ -63,8 +63,8 @@ jobs:
6363
output: "trivy-results-ubi.html"
6464

6565
- name: Upload Artifact
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
68-
name: trivy-results
68+
name: trivy-results-ubi
6969
path: trivy-results-ubi.html
7070
retention-days: 90

0 commit comments

Comments
 (0)