1717 runs-on : ubuntu-latest
1818 if : github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
1919 steps :
20- - uses : actions/checkout@v6
20+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2121
22- - uses : actions/setup-node@v6
22+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2323 with :
2424 node-version : ' lts/*'
2525 cache : ' npm'
@@ -62,10 +62,10 @@ jobs:
6262
6363 # Build gubbins container images using pixi
6464 - name : Set up Docker Buildx
65- uses : docker/setup-buildx-action@v4
65+ uses : docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
6666
6767 - name : Build gubbins services image
68- uses : docker/build-push-action@v7
68+ uses : docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
6969 with :
7070 context : ../diracx
7171 file : ../diracx/containers/Dockerfile
7575 outputs : type=docker,dest=/tmp/gubbins_services_image.tar
7676
7777 - name : Build gubbins client image
78- uses : docker/build-push-action@v7
78+ uses : docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
7979 with :
8080 context : ../diracx
8181 file : ../diracx/containers/Dockerfile
8585 outputs : type=docker,dest=/tmp/gubbins_client_image.tar
8686
8787 - name : Upload gubbins images
88- uses : actions/upload-artifact@v7
88+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
8989 with :
9090 name : gubbins-images
9191 path : /tmp/gubbins_*_image.tar
9494 runs-on : ubuntu-latest
9595 if : ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
9696 steps :
97- - uses : actions/checkout@v6
97+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
9898
99- - uses : actions/setup-node@v6
99+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
100100 with :
101101 node-version : ' lts/*'
102102 registry-url : ' https://registry.npmjs.org'
@@ -129,7 +129,7 @@ jobs:
129129 run : npm install
130130
131131 - name : Upload the extensions directory
132- uses : actions/upload-artifact@v7
132+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
133133 with :
134134 name : gubbins-web
135135 path : /tmp/gubbins-web
@@ -148,15 +148,15 @@ jobs:
148148 needs : prepare-gubbins-frontend-as-a-standalone
149149 if : ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
150150 steps :
151- - uses : actions/checkout@v6
151+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
152152
153153 - name : Set up QEMU
154- uses : docker/setup-qemu-action@v4
154+ uses : docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4
155155 - name : Set up Docker Buildx
156- uses : docker/setup-buildx-action@v4
156+ uses : docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
157157
158158 - name : Login to GitHub container registry
159- uses : docker/login-action@v4
159+ uses : docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4
160160 with :
161161 registry : ghcr.io
162162 username : ${{ github.actor }}
@@ -166,7 +166,7 @@ jobs:
166166 # WARNING: In your CI/CD pipeline, you should remove the following steps #
167167 # ------------------------------------------------------------------------#
168168 - name : Download gubbins-web
169- uses : actions/download-artifact@v7
169+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
170170 with :
171171 name : gubbins-web
172172 path : /tmp/gubbins-web
@@ -175,7 +175,7 @@ jobs:
175175
176176 # In your extension, you have to push the image to the registry (check deployment.yml)
177177 - name : Build Docker image (extension example)
178- uses : docker/build-push-action@v7
178+ uses : docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
179179 with :
180180 context : /tmp/gubbins-web
181181 push : false
@@ -188,7 +188,7 @@ jobs:
188188 needs : [prepare-gubbins-frontend-as-a-standalone, prepare-gubbins-backend]
189189 if : github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
190190 steps :
191- - uses : actions/checkout@v6
191+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
192192
193193 - name : Clone source
194194 run : |
@@ -204,7 +204,7 @@ jobs:
204204 git clone https://github.com/DIRACGrid/diracx.git
205205
206206 - name : Download gubbins images
207- uses : actions/download-artifact@v7
207+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
208208 with :
209209 name : gubbins-images
210210 path : /tmp/
@@ -217,7 +217,7 @@ jobs:
217217 rm -f /tmp/gubbins_client_image.tar
218218
219219 - name : Download gubbins-web
220- uses : actions/download-artifact@v7
220+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
221221 with :
222222 name : gubbins-web
223223 path : /tmp/gubbins-web
@@ -287,7 +287,7 @@ jobs:
287287
288288 - name : Upload Cypress screenshots
289289 if : failure()
290- uses : actions/upload-artifact@v7
290+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
291291 with :
292292 name : cypress-screenshots
293293 path : /tmp/gubbins-web/cypress/screenshots
0 commit comments