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:
parent
6030da03d4
commit
5e25ae9c63
2 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue