File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414 name : Lint
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1818 with :
1919 persist-credentials : false
20- - uses : actions/setup-go@v4
20+ - uses : actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639 # v4
2121 with :
2222 go-version : ' 1.21'
2323 cache : false
@@ -29,11 +29,11 @@ jobs:
2929 name : Unit-Tests
3030 runs-on : ubuntu-latest
3131 steps :
32- - uses : actions/checkout@v3
32+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3333 with :
3434 persist-credentials : false
3535 - name : Set up Go 1.21
36- uses : actions/setup-go@v4
36+ uses : actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639 # v4
3737 with :
3838 go-version : 1.21
3939 - name : Unit Tests
@@ -42,11 +42,11 @@ jobs:
4242 name : Build Binaries
4343 runs-on : ubuntu-latest
4444 steps :
45- - uses : actions/checkout@v3
45+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4646 with :
4747 persist-credentials : false
4848 - name : Set up Go 1.21
49- uses : actions/setup-go@v4
49+ uses : actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639 # v4
5050 with :
5151 go-version : 1.21
5252 - name : Build All
Original file line number Diff line number Diff line change 1- FROM golang:1.22 as build
1+ FROM golang:1.22@sha256:1cf6c45ba39db9fd6db16922041d074a63c935556a05c5ccb62d181034df7f02 as build
22ARG GOARCH="amd64"
33COPY . /build_dir
44WORKDIR /build_dir
55ENV GOPROXY=https://proxy.golang.org
66RUN make clean && make benchtool
77
8- FROM alpine:3.14
8+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
99RUN apk add --update --no-cache ca-certificates
1010COPY --from=build /build_dir/cmd/benchtool/benchtool /usr/bin/benchtool
1111EXPOSE 80
Original file line number Diff line number Diff line change 1- FROM alpine:3.14
1+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
22RUN apk add --update --no-cache ca-certificates
33COPY benchtool /usr/bin/benchtool
44EXPOSE 80
Original file line number Diff line number Diff line change 1- FROM golang:1.22 as build
1+ FROM golang:1.22@sha256:1cf6c45ba39db9fd6db16922041d074a63c935556a05c5ccb62d181034df7f02 as build
22ARG GOARCH="amd64"
33COPY . /build_dir
44WORKDIR /build_dir
55ENV GOPROXY=https://proxy.golang.org
66RUN make clean && make cortextool
77
8- FROM alpine:3.14
8+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
99RUN apk add --update --no-cache ca-certificates tzdata
1010COPY --from=build /build_dir/cmd/cortextool/cortextool /usr/bin/cortextool
1111EXPOSE 80
Original file line number Diff line number Diff line change 1- FROM alpine:3.14
1+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
22RUN apk add --update --no-cache ca-certificates
33COPY cortextool /usr/bin/cortextool
44EXPOSE 80
Original file line number Diff line number Diff line change 1- FROM golang:1.22 as build
1+ FROM golang:1.22@sha256:1cf6c45ba39db9fd6db16922041d074a63c935556a05c5ccb62d181034df7f02 as build
22ARG GOARCH="amd64"
33COPY . /build_dir
44WORKDIR /build_dir
55RUN make clean && make e2ealerting
66
7- FROM alpine:3.14
7+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
88RUN apk add --update --no-cache ca-certificates
99COPY --from=build /build_dir/cmd/e2ealerting/e2ealerting /usr/bin/e2ealerting
1010EXPOSE 80
Original file line number Diff line number Diff line change 1- FROM golang:1.22 as build
1+ FROM golang:1.22@sha256:1cf6c45ba39db9fd6db16922041d074a63c935556a05c5ccb62d181034df7f02 as build
22ARG GOARCH="amd64"
33COPY . /build_dir
44WORKDIR /build_dir
55ENV GOPROXY=https://proxy.golang.org
66RUN make clean && make logtool
77
8- FROM alpine:3.14
8+ FROM alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
99RUN apk add --update --no-cache ca-certificates
1010COPY --from=build /build_dir/cmd/logtool/logtool /usr/bin/logtool
1111EXPOSE 80
You can’t perform that action at this time.
0 commit comments