Compare commits
No commits in common. "26a7d7a72a746b2612636d70044600d3a1f98f05" and "d26acf9ee01c4653177137d84e5628f75fdc207c" have entirely different histories.
26a7d7a72a
...
d26acf9ee0
2 changed files with 7 additions and 1 deletions
|
@ -13,5 +13,9 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: https://git.shadowhosting.xyz/actions/checkout@v4
|
||||
- uses: https://git.shadowhosting.xyz/actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
- run: go mod download
|
||||
- name: Run Gosec Security Scanner
|
||||
uses: https://git.shadowhosting.xyz/actions/goscan@main
|
|
@ -8,7 +8,9 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -o build/goscan
|
|||
|
||||
FROM alpine:3.20
|
||||
|
||||
COPY --from=builder /usr/local/go /usr/local/go
|
||||
RUN apk --no-cache update && apk --no-cache upgrade && apk add wget curl
|
||||
RUN wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz && tar -xf go1.23.1.linux-amd64.tar.gz -C /usr/local && rm -rf go1.23.1.linux-amd64.tar.gz
|
||||
|
||||
COPY --from=builder /app/build/goscan /goscan
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /goscan && chmod +x /entrypoint.sh
|
||||
|
|
Loading…
Reference in a new issue