1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-05-13 02:50:01 +02:00

Build setup (#1)

add multi-image support
This commit is contained in:
klfgit 2021-12-08 15:39:19 -05:00 committed by GitHub
parent e03153c634
commit 161b9576a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 233 additions and 154 deletions

View file

@ -15,12 +15,16 @@ RUN wget -O /kaniko/jq \
wget -O /crane.tar.gz \
https://github.com/google/go-containerregistry/releases/download/v0.1.1/go-containerregistry_Linux_x86_64.tar.gz && \
tar -xvzf /crane.tar.gz crane -C /kaniko && \
rm /crane.tar.gz
rm /crane.tar.gz && \
wget -O /yq_linux_386.tar.gz https://github.com/mikefarah/yq/releases/download/v4.15.1/yq_linux_386.tar.gz && \
tar -zxvf /yq_linux_386.tar.gz ./yq_linux_386 -C /kaniko && \
mv /kaniko/yq_linux_386 /kaniko/yq && \
rm /yq_linux_386.tar.gz
COPY entrypoint.sh /
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENTRYPOINT ["/entrypoint.sh"]
LABEL repository="https://github.com/aevea/action-kaniko" \
maintainer="Alex Viscreanu <alexviscreanu@gmail.com>"
LABEL repository="https://github.com/ohioit/action-kaniko" \
maintainer="Ohio University"