Skip to content

Commit

Permalink
fix: move docker image source label to final image (#181)
Browse files Browse the repository at this point in the history
Addresses feedback left in #180
  • Loading branch information
therealdwright committed May 17, 2023
1 parent 70b222b commit 29f2032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ ARG GO_VERSION="1.19"
# Stage 1: Build KSOPS and Kustomize
FROM golang:$GO_VERSION AS builder

LABEL org.opencontainers.image.source="https://github.com/viaduct-ai/kustomize-sops"

ARG TARGETPLATFORM
ARG PKG_NAME=ksops

Expand All @@ -33,6 +31,8 @@ RUN make kustomize
# # Stage 2: Final image
FROM debian:bullseye-slim

LABEL org.opencontainers.image.source="https://github.com/viaduct-ai/kustomize-sops"

# Copy only necessary files from the builder stage
COPY --from=builder /go/bin/ksops /usr/local/bin/ksops
COPY --from=builder /go/bin/kustomize /usr/local/bin/kustomize
Expand Down

0 comments on commit 29f2032

Please sign in to comment.