20
20
image : quay.io/cortexproject/build-image:master-779dcf4ba
21
21
steps :
22
22
- name : Checkout Repo
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
24
24
- name : Setup Git safe.directory
25
25
run : |
26
26
echo "this step is needed because when running in container, actions/checkout does not set safe.directory effectively."
49
49
image : quay.io/cortexproject/build-image:master-779dcf4ba
50
50
steps :
51
51
- name : Checkout Repo
52
- uses : actions/checkout@v2
52
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
53
53
- name : Setup Git safe.directory
54
54
run : |
55
55
echo "this step is needed because when running in container, actions/checkout does not set safe.directory effectively."
@@ -71,19 +71,19 @@ jobs:
71
71
security-events : write
72
72
steps :
73
73
- name : Checkout repository
74
- uses : actions/checkout@v4
74
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
75
75
76
76
# Initializes the CodeQL tools for scanning.
77
77
- name : Initialize CodeQL
78
- uses : github/codeql-action/init@v3
78
+ uses : github/codeql-action/init@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
79
79
with :
80
80
languages : go
81
81
82
82
- name : Autobuild
83
- uses : github/codeql-action/autobuild@v3
83
+ uses : github/codeql-action/autobuild@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
84
84
85
85
- name : Perform CodeQL Analysis
86
- uses : github/codeql-action/analyze@v3
86
+ uses : github/codeql-action/analyze@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
87
87
88
88
89
89
build :
92
92
image : quay.io/cortexproject/build-image:master-779dcf4ba
93
93
steps :
94
94
- name : Checkout Repo
95
- uses : actions/checkout@v2
95
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
96
96
- name : Setup Git safe.directory
97
97
run : |
98
98
echo "this step is needed because when running in container, actions/checkout does not set safe.directory effectively."
@@ -113,7 +113,7 @@ jobs:
113
113
touch build-image/.uptodate
114
114
make BUILD_IN_CONTAINER=false web-build
115
115
- name : Upload Website Artifact
116
- uses : actions/upload-artifact@v4
116
+ uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
117
117
with :
118
118
name : website public
119
119
path : website/public/
@@ -125,7 +125,7 @@ jobs:
125
125
- name : Create Docker Images Archive
126
126
run : tar -cvf images.tar /tmp/images
127
127
- name : Upload Docker Images Artifact
128
- uses : actions/upload-artifact@v4
128
+ uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
129
129
with :
130
130
name : Docker Images
131
131
path : ./images.tar
@@ -146,19 +146,19 @@ jobs:
146
146
- integration_query_fuzz
147
147
steps :
148
148
- name : Upgrade golang
149
- uses : actions/setup-go@v2
149
+ uses : actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
150
150
with :
151
151
go-version : 1.22.5
152
152
- name : Checkout Repo
153
- uses : actions/checkout@v2
153
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
154
154
- name : Install Docker Client
155
155
run : sudo ./.github/workflows/scripts/install-docker.sh
156
156
- name : Sym Link Expected Path to Workspace
157
157
run : |
158
158
sudo mkdir -p /go/src/github.com/cortexproject/cortex
159
159
sudo ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
160
160
- name : Download Docker Images Artifacts
161
- uses : actions/download-artifact@v4
161
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
162
162
with :
163
163
name : Docker Images
164
164
- name : Extract Docker Images Archive
@@ -209,11 +209,11 @@ jobs:
209
209
runs-on : ubuntu-20.04
210
210
steps :
211
211
- name : Checkout Repo
212
- uses : actions/checkout@v2
212
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
213
213
- name : Install Docker Client
214
214
run : sudo ./.github/workflows/scripts/install-docker.sh
215
215
- name : Download Docker Images Artifact
216
- uses : actions/download-artifact@v4
216
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
217
217
with :
218
218
name : Docker Images
219
219
- name : Extract Docker Images Archive
@@ -233,7 +233,7 @@ jobs:
233
233
image : quay.io/cortexproject/build-image:master-779dcf4ba
234
234
steps :
235
235
- name : Checkout Repo
236
- uses : actions/checkout@v2
236
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
237
237
with :
238
238
# web-deploy script expects repo to be cloned with ssh for some commands to work
239
239
ssh-key : ${{ secrets.WEBSITE_DEPLOY_SSH_PRIVATE_KEY }}
@@ -247,7 +247,7 @@ jobs:
247
247
mkdir -p /go/src/github.com/cortexproject/cortex
248
248
ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
249
249
- name : Download Website Artifact
250
- uses : actions/download-artifact@v4
250
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
251
251
with :
252
252
name : website public
253
253
path : website/public
@@ -275,7 +275,7 @@ jobs:
275
275
image : quay.io/cortexproject/build-image:master-779dcf4ba
276
276
steps :
277
277
- name : Checkout Repo
278
- uses : actions/checkout@v2
278
+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
279
279
- name : Setup Git safe.directory
280
280
run : |
281
281
echo "this step is needed because when running in container, actions/checkout does not set safe.directory effectively."
@@ -288,7 +288,7 @@ jobs:
288
288
mkdir -p /go/src/github.com/cortexproject/cortex
289
289
ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
290
290
- name : Download Docker Images Artifact
291
- uses : actions/download-artifact@v4
291
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
292
292
with :
293
293
name : Docker Images
294
294
- name : Extract Docker Images Archive
0 commit comments