Skip to content

Commit f2648fa

Browse files
Update github actions
1 parent c20fa6b commit f2648fa

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
extra_args: --only-verified
4343

4444
- name: Setup Go
45-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
45+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
4646
with:
4747
go-version-file: "go.mod"
4848

@@ -62,7 +62,7 @@ jobs:
6262
# You may pin to the exact commit or the version.
6363
# uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc
6464
if: ${{ github.event_name == 'pull_request' && !contains(env.head_commit_message, '#skip-lint') }}
65-
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
65+
uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7.0.1
6666
with:
6767
args: -v --timeout=5m
6868
version: v2.0.2
@@ -87,7 +87,7 @@ jobs:
8787

8888
- name: Docker build and push pr (controller)
8989
if: ${{ github.event_name == 'pull_request' }}
90-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
90+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
9191
with:
9292
context: .
9393
file: ./Dockerfile.controller
@@ -97,7 +97,7 @@ jobs:
9797

9898
- name: Docker build and push pr (agent)
9999
if: ${{ github.event_name == 'pull_request' }}
100-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
100+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
101101
with:
102102
context: .
103103
file: ./Dockerfile.agent
@@ -107,7 +107,7 @@ jobs:
107107

108108
- name: Docker build and push pr (scanners)
109109
if: ${{ github.event_name == 'pull_request' }}
110-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
110+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
111111
with:
112112
context: .
113113
file: ./Dockerfile.scanners
@@ -117,7 +117,7 @@ jobs:
117117

118118
- name: Docker build and push main (controller)
119119
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
120-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
120+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
121121
with:
122122
context: .
123123
file: ./Dockerfile.controller
@@ -127,7 +127,7 @@ jobs:
127127

128128
- name: Docker build and push main (agent)
129129
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
130-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
130+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
131131
with:
132132
context: .
133133
file: ./Dockerfile.agent
@@ -137,7 +137,7 @@ jobs:
137137

138138
- name: Docker build and push main (scanners)
139139
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
140-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
140+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
141141
with:
142142
context: .
143143
file: ./Dockerfile.scanners
@@ -178,7 +178,7 @@ jobs:
178178
echo "Head commit sha ${head}"
179179
180180
- name: Setup Go
181-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
181+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
182182
with:
183183
go-version-file: "go.mod"
184184

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2323

2424
- name: Setup Go
25-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
25+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
2626
with:
2727
go-version-file: "go.mod"
2828

@@ -74,7 +74,7 @@ jobs:
7474
password: ${{ secrets.GITHUB_TOKEN }}
7575

7676
- name: Build and push release (kvisor-agent)
77-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
77+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
7878
with:
7979
context: .
8080
push: true
@@ -87,7 +87,7 @@ jobs:
8787
us-docker.pkg.dev/castai-hub/library/kvisor-agent:latest
8888
8989
- name: Build and push release (kvisor-controller)
90-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
90+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
9191
with:
9292
context: .
9393
push: true
@@ -100,7 +100,7 @@ jobs:
100100
us-docker.pkg.dev/castai-hub/library/kvisor-controller:latest
101101
102102
- name: Build and push release (kvisor-scanners)
103-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
103+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
104104
with:
105105
context: .
106106
push: true

.github/workflows/syft-sbom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515

1616
- name: Anchore SBOM Action
17-
uses: anchore/sbom-action@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0
17+
uses: anchore/sbom-action@e11c554f704a0b820cbf8c51673f6945e0731532 # v0
1818
with:
1919
artifact-name: ${{ github.event.repository.name }}-spdx.json

0 commit comments

Comments
 (0)