Skip to content

Commit cfb1491

Browse files
Update github actions
1 parent f6d66c9 commit cfb1491

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/build.yaml

Lines changed: 12 additions & 12 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

@@ -74,18 +74,18 @@ jobs:
7474
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
7575

7676
- name: Set up Docker Buildx
77-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
77+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
7878

7979
- name: Login to GitHub Container Registry
80-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
80+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
8181
with:
8282
registry: ghcr.io
8383
username: ${{ github.actor }}
8484
password: ${{ secrets.GITHUB_TOKEN }}
8585

8686
- name: Docker build and push pr (controller)
8787
if: ${{ github.event_name == 'pull_request' }}
88-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
88+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
8989
with:
9090
context: .
9191
file: ./Dockerfile.controller
@@ -95,7 +95,7 @@ jobs:
9595

9696
- name: Docker build and push pr (agent)
9797
if: ${{ github.event_name == 'pull_request' }}
98-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
98+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
9999
with:
100100
context: .
101101
file: ./Dockerfile.agent
@@ -105,7 +105,7 @@ jobs:
105105

106106
- name: Docker build and push pr (scanners)
107107
if: ${{ github.event_name == 'pull_request' }}
108-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
108+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
109109
with:
110110
context: .
111111
file: ./Dockerfile.scanners
@@ -115,7 +115,7 @@ jobs:
115115

116116
- name: Docker build and push main (controller)
117117
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
118-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
118+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
119119
with:
120120
context: .
121121
file: ./Dockerfile.controller
@@ -125,7 +125,7 @@ jobs:
125125

126126
- name: Docker build and push main (agent)
127127
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
128-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
128+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
129129
with:
130130
context: .
131131
file: ./Dockerfile.agent
@@ -135,7 +135,7 @@ jobs:
135135

136136
- name: Docker build and push main (scanners)
137137
if: ${{ github.event_name != 'pull_request' && github.event_name != 'release'}}
138-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
138+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
139139
with:
140140
context: .
141141
file: ./Dockerfile.scanners
@@ -147,7 +147,7 @@ jobs:
147147
# You may pin to the exact commit or the version.
148148
# uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc
149149
if: ${{ github.event_name == 'pull_request' && !contains(env.head_commit_message, '#skip-lint') }}
150-
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
150+
uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7.0.1
151151
with:
152152
args: -v --timeout=5m
153153
version: v2.0.2
@@ -190,12 +190,12 @@ jobs:
190190
echo "Head commit sha ${head}"
191191
192192
- name: Setup Go
193-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
193+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
194194
with:
195195
go-version-file: "go.mod"
196196

197197
- name: Login to GitHub Container Registry
198-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
198+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
199199
with:
200200
registry: ghcr.io
201201
username: ${{ github.actor }}

.github/workflows/release.yaml

Lines changed: 8 additions & 8 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

@@ -57,24 +57,24 @@ jobs:
5757
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
5858

5959
- name: Set up Docker Buildx
60-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
60+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
6161

6262
- name: Login to Google Container Registry
63-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
63+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
6464
with:
6565
registry: us-docker.pkg.dev
6666
username: _json_key
6767
password: ${{ secrets.ARTIFACT_BUILDER_JSON_KEY }}
6868

6969
- name: Login to GitHub Container Registry
70-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
70+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
7171
with:
7272
registry: ghcr.io
7373
username: ${{ github.actor }}
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
@@ -181,7 +181,7 @@ jobs:
181181
git status
182182
183183
- name: Make helm charts github release
184-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
184+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2
185185
with:
186186
body: |
187187
${{ steps.parse-chart.outputs.desc }}

.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@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0
1818
with:
1919
artifact-name: ${{ github.event.repository.name }}-spdx.json

0 commit comments

Comments
 (0)