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

This commit is contained in:
maximo tejeda 2024-12-02 20:45:00 -04:00
parent 98dce2d47c
commit b306e432f7

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 -X main.Aarch=${TARGETARCH}" ./cmd/crawler/
FROM alpine AS runner FROM alpine AS runner
COPY --from=builder /app/bin/crawler /usr/bin/ COPY --from=builder /app/bin/crawler /usr/bin/