File tree 4 files changed +6
-1
lines changed
4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 61
61
runs-on : ubuntu-latest
62
62
timeout-minutes : 15
63
63
permissions :
64
+ contents : read
64
65
pull-requests : read
65
66
steps :
66
67
- name : Checkout code
Original file line number Diff line number Diff line change 50
50
runs-on : ubuntu-latest
51
51
timeout-minutes : 15
52
52
permissions :
53
+ contents : read
53
54
id-token : write
54
55
packages : write
55
56
steps :
Original file line number Diff line number Diff line change 71
71
- name : Ensure Docker image builds
72
72
uses : docker/build-push-action@v3
73
73
with :
74
+ load : true
74
75
push : false
75
76
tags : ghcr.io/${{ github.repository }}:build-test
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ COPY . /build
4
4
WORKDIR /build
5
5
6
6
# add git so VCS info will be stamped in binary
7
- RUN apk add --no-cache git=2.36.3-r0
7
+ # ignore warning that a specific version of git isn't pinned
8
+ # hadolint ignore=DL3018
9
+ RUN apk add --no-cache git
8
10
9
11
# build as PIE to take advantage of exploit mitigations
10
12
ARG CGO_ENABLED=0
You can’t perform that action at this time.
0 commit comments