Skip to content

Commit 148c4bd

Browse files
committed
restore image tag to use and add comment
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
1 parent d7e4a91 commit 148c4bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

govulncheck-action/Containerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ COPY . .
1010
RUN echo "Building govulncheckx binary for $GOOS/$GOARCH"
1111
RUN GOOS=$GOOS GOARCH=$GOARCH go build -v -o govulncheckx main.go
1212

13-
FROM golang:1.23
13+
FROM golang:1.24
1414
# using a fresh golang image without the `WORKDIR` from the builder stage
1515
# see https://docs.github.com/en/actions/reference/workflows-and-actions/dockerfile-support#workdir
16+
# using golang 1.24 but the entrypoint will trigger an install of the actual go version,
17+
# even if it is 1.23
1618

1719
# copy the binary from the builder stage
1820
COPY --from=builder /usr/src/app/govulncheckx /usr/local/bin/govulncheckx

govulncheck-action/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515

1616
runs:
1717
using: 'docker'
18-
image: 'docker://quay.io/codeready-toolchain/govulncheck-action:entrypoint-test'
18+
image: 'docker://quay.io/codeready-toolchain/govulncheck-action:latest'
1919
args:
2020
- --path=${{ inputs.path }}
2121
- --config=${{ inputs.config }}

0 commit comments

Comments
 (0)