Skip to content

Commit

Permalink
Dockerfile: variant selection
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Augustus <foo@auggie.dev>
  • Loading branch information
justaugustus committed Sep 26, 2021
1 parent 79a25ac commit 581c268
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -59,10 +59,13 @@ FROM base AS test-variant
COPY --from=builder /go/src/app/test-e2e/cip-auditor/fixture /e2e-fixtures

# Trigger the auditor on startup.
ENTRYPOINT ["/kpromo cip", "audit", "--verbose"]
ENTRYPOINT ["/kpromo", "cip", "audit", "--verbose"]

# Production image
FROM base AS prod-variant

LABEL maintainers="Kubernetes Authors"
LABEL description="kpromo: The Kubernetes project artifact promoter"

# Allow the runtime argument to choose the final variant.
FROM ${variant}-variant AS final

0 comments on commit 581c268

Please sign in to comment.