ADD main
Some checks failed
${{ github.actor }} executed Build Push Prod / build (push) Failing after 42s
${{ github.actor }} executed Build Push Prod / deploy (push) Has been skipped

This commit is contained in:
maximo tejeda 2024-12-02 20:53:45 -04:00
parent b306e432f7
commit 06ca6d804c

View File

@ -8,7 +8,7 @@ COPY . .
RUN go build -o bin/crawler \ RUN go build -o bin/crawler \
-ldflags "-X main.Shortsha=${SHORTSHA} \ -ldflags "-X main.Shortsha=${SHORTSHA} \
-X main.Version=${version} \ -X main.Version=${version} \
-X main.Aarch=${TARGETARCH}" ./cmd/crawler/ -X main.Aarch=${TARGETARCH}" ./cmd/crawler/main.go
FROM alpine AS runner FROM alpine AS runner
COPY --from=builder /app/bin/crawler /usr/bin/ COPY --from=builder /app/bin/crawler /usr/bin/