File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
2222 permissions :
2323 contents : read # to download the repository
2424 steps :
25- - uses : actions/checkout@v4
25+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2626 with :
2727 fetch-depth : 0
2828 persist-credentials : false
29- - uses : actions/setup-node@v4
29+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3030 with :
3131 node-version : 18
3232 cache : npm
3838 run : npm run build
3939
4040 - name : Upload Build Artifact
41- uses : actions/upload-pages-artifact@v3
41+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
4242 with :
4343 path : site/build
4444
6060 steps :
6161 - name : Deploy to GitHub Pages
6262 id : deployment
63- uses : actions/deploy-pages@v4
63+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
Original file line number Diff line number Diff line change 11# Multistage build - allows for smaller final images post Python build
2- FROM node:23-alpine3.20 AS builder
2+ FROM node:23-alpine3.20@sha256:78d6e102e0889545bcf80ded837034f485ba7f7ebe09211d0f2d383082a7a047 AS builder
33ARG SERVICE
44
55WORKDIR /usr/src/app
@@ -22,7 +22,7 @@ RUN npm install --production \
2222 && rm -rf /tmp/*
2323
2424# Create a slimmer image using the built node_modules
25- FROM node:23-alpine3.20
25+ FROM node:23-alpine3.20@sha256:78d6e102e0889545bcf80ded837034f485ba7f7ebe09211d0f2d383082a7a047
2626ARG SERVICE
2727
2828WORKDIR /usr/src/app
Original file line number Diff line number Diff line change 1- FROM docker.io/grafana/xk6:latest AS builder
1+ FROM docker.io/grafana/xk6:latest@sha256:00aee5074e3ec8d42eaa72fa54d21b9d9403e6fb11b3c6b353c0723f00a56538 AS builder
22
33# Build the xk6 binary with the required extensions
44RUN xk6 build --with github.com/grafana/xk6-faker@latest
55
6- FROM docker.io/library/debian:12-slim
6+ FROM docker.io/library/debian:12-slim@sha256:98f4b71de414932439ac6ac690d7060df1f27161073c5036a7553723881bffbe
77
88COPY --from=builder /xk6/k6 /usr/bin/k6
99
Original file line number Diff line number Diff line change 1010 "license" : " ISC" ,
1111 "description" : " " ,
1212 "devDependencies" : {
13- "@types/k6" : " ^ 1.0.2"
13+ "@types/k6" : " 1.0.2"
1414 }
1515}
You can’t perform that action at this time.
0 commit comments