Skip to content

Commit 1447602

Browse files
committed
fix Dockerfile
1 parent 643b403 commit 1447602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ WORKDIR /app
33
COPY . .
44
ARG GITHUB_SHA
55
ARG VERSION
6+
SHELL ["/bin/bash", "-c"]
67
RUN echo "Building commit: ${GITHUB_SHA:0:7}" && \
78
go mod tidy && \
89
go build -ldflags="-s -w -X main.Version=${VERSION} -X main.CurrentCommit=${GITHUB_SHA:0:7}" -trimpath -o subs-check .

0 commit comments

Comments
 (0)