File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ type: docker
44name : docker-push
55steps :
66- name : docker
7- image : plugins/docker
7+ image : plugins/docker@sha256:4e482ef91fb2695d658a85c60772d7f75f931e0883e23ec0954f0bc17ccc0663
88 settings :
99 auto_tag : true
1010 dockerfile : Dockerfile
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1515 with :
1616 persist-credentials : false
1717
1818 - name : Set up Go
19- uses : actions/setup-go@v2
19+ uses : actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2
2020 with :
2121 go-version : 1.24.2
2222 - name : Build
Original file line number Diff line number Diff line change 1- FROM golang:1.25.4 AS build
1+ FROM golang:1.25.4@sha256:294846130303560fa9cb1fcce26b0fb1c35007906abeac9419dce2fc13a07286 AS build
22WORKDIR /src
33
44COPY . .
55RUN go mod download && \
66 CGO_ENABLED=0 GOOS=linux go build -a -o app .
77
8- FROM alpine:latest
8+ FROM alpine:latest@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
99
1010RUN addgroup -g 1000 app && \
1111 adduser -u 1000 -h /app -G app -S app
You can’t perform that action at this time.
0 commit comments