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

refactor: Use google/go-containerregistry to push image

This commit is contained in:
Doron Somech 2020-06-29 15:26:53 +03:00 committed by Alex Viscreanu
parent 6030da03d4
commit 5e25ae9c63
2 changed files with 13 additions and 10 deletions

View file

@ -11,7 +11,11 @@ RUN wget -O /kaniko/jq \
chmod +x /kaniko/jq && \
wget -O /kaniko/reg \
https://github.com/genuinetools/reg/releases/download/v0.16.1/reg-linux-386 && \
chmod +x /kaniko/reg
chmod +x /kaniko/reg && \
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
COPY entrypoint.sh /
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt