add git
All checks were successful
${{ github.actor }} executed Build Push Prod / build (push) Successful in 3m9s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 19s

This commit is contained in:
maximo tejeda 2024-12-03 22:34:10 -04:00
parent eeebd4c25c
commit edd02366ca

View File

@ -4,6 +4,7 @@ ARG TARGETARCH
ARG version=not-set ARG version=not-set
ARG SHORTSHA=not-set ARG SHORTSHA=not-set
WORKDIR /app WORKDIR /app
RUN apk update && apk add git
COPY . . COPY . .
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm # https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
RUN go build -o bin/us-dop-api \ RUN go build -o bin/us-dop-api \