Feat: add crane support
Some checks failed
Build image / release-image (push) Failing after 36s

This commit is contained in:
2025-04-19 17:13:27 +08:00
parent ca701e0704
commit e084dfe265
2 changed files with 53 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
FROM gcr.io/kaniko-project/executor:v1.23.2
FROM gcr.io/go-containerregistry/crane:v0.20.3 AS crane
#####
FROM gcr.io/kaniko-project/executor:v1.23.2-debug
ADD rootca.pem /usr/local/share/ca-certificates/rootca.pem
COPY --from=crane /ko-app/crane /bin/crane
COPY entrypoint /kaniko/entrypoint.sh
ENTRYPOINT ["/kaniko/entrypoint.sh"]