Skip to content

Commit

Permalink
Merge pull request antoniomika#219 from antoniomika/am/fix-docker-cache
Browse files Browse the repository at this point in the history
Maximize cache hits
  • Loading branch information
antoniomika authored Mar 25, 2022
2 parents d9bcc08 + 53576c7 commit 86385fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ LABEL maintainer="Antonio Mika <[email protected]>"

ENV CGO_ENABLED 0

ARG VERSION=dev
ARG COMMIT=none
ARG DATE=unknown
ARG REPOSITORY=unknown

WORKDIR /app

RUN mkdir -p /emptydir
Expand All @@ -31,6 +26,11 @@ COPY --from=builder /root/.cache/go-build /go-build

FROM builder as build-image

ARG VERSION=dev
ARG COMMIT=none
ARG DATE=unknown
ARG REPOSITORY=unknown

ARG TARGETOS
ARG TARGETARCH

Expand Down

0 comments on commit 86385fc

Please sign in to comment.