Skip to content

Commit 794a135

Browse files
committed
chore: Update GitHub Actions
1 parent afe622d commit 794a135

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/actions/action-build-container/action.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
steps:
5252
- name: Docker Login
5353
if: ${{ inputs.push-to-registry }}
54-
uses: docker/login-action@v3
54+
uses: docker/login-action@v4
5555
with:
5656
registry: ghcr.io
5757
username: ${{ github.actor }}
@@ -60,12 +60,12 @@ runs:
6060
# Cached Builds require Docker Buildx, and the resulting image needs to be loaded into Docker
6161
- name: Set up Docker Buildx
6262
if: ${{ inputs.enable-cache == 'true' }}
63-
uses: docker/setup-buildx-action@v3
63+
uses: docker/setup-buildx-action@v4
6464

6565
- name: Build Docker Image (Cached)
6666
if: ${{ inputs.enable-cache == 'true' }}
6767
id: build-cache
68-
uses: docker/build-push-action@v6
68+
uses: docker/build-push-action@v7
6969
with:
7070
cache-from: type=gha,scope=${{ inputs.image-name }}
7171
cache-to: type=gha,mode=max,scope=${{ inputs.image-name }}
@@ -83,7 +83,7 @@ runs:
8383
- name: Build Docker Image (No Cache)
8484
if: ${{ inputs.enable-cache != 'true' }}
8585
id: build-nocache
86-
uses: docker/build-push-action@v6
86+
uses: docker/build-push-action@v7
8787
with:
8888
context: ${{ inputs.docker-context }}
8989
file: ${{ inputs.dockerfile-path }}
@@ -97,7 +97,7 @@ runs:
9797
# GHAS Trivy Scan - Upload results to GitHub Security tab
9898
- name: Scan Docker Image with Trivy
9999
if: ${{ inputs.security-scan == 'true' && inputs.use-ghas == 'true' }}
100-
uses: aquasecurity/trivy-action@0.33.1
100+
uses: aquasecurity/trivy-action@v0.36.0
101101
env:
102102
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
103103
with:
@@ -107,7 +107,7 @@ runs:
107107
vuln-type: "os"
108108

109109
- name: Upload Trivy Results to GHAS
110-
uses: github/codeql-action/upload-sarif@v3
110+
uses: github/codeql-action/upload-sarif@v4
111111
if: ${{ inputs.security-scan == 'true' && inputs.use-ghas == 'true' }}
112112
with:
113113
sarif_file: "trivy-results.sarif"
@@ -116,7 +116,7 @@ runs:
116116
# Non-GHAS Trivy Scan - Upload results to Job Summary
117117
- name: Scan Docker Image with Trivy
118118
if: ${{ inputs.security-scan == 'true' && inputs.use-ghas != 'true' }}
119-
uses: aquasecurity/trivy-action@0.33.1
119+
uses: aquasecurity/trivy-action@v0.36.0
120120
env:
121121
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
122122
with:

‎.github/workflows/publish-container.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020

2121
- name: Determine Version
2222
id: version

0 commit comments

Comments
 (0)