mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-05-12 18:40:01 +02:00
chore: fixing digest
Fixing few issues with digest: 1. Multi-stage dockerfiles override /usr/local/lib, downloading jq and reg to /kaniko instead 2. Github registry doesn't support digest yet, downloading manifest and calculating the digest manually 3. Digest was fetched for the current tag, which not yet exist. Fetching digest for the latest tag instead
This commit is contained in:
parent
57d6d22cdf
commit
ff9e1ae761
2 changed files with 13 additions and 6 deletions
|
@ -6,13 +6,12 @@ FROM gcr.io/kaniko-project/executor:debug
|
|||
|
||||
SHELL ["/busybox/sh", "-c"]
|
||||
|
||||
RUN mkdir -p /usr/local/bin && \
|
||||
wget -O /usr/local/bin/jq \
|
||||
RUN wget -O /kaniko/jq \
|
||||
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
|
||||
chmod +x /usr/local/bin/jq && \
|
||||
wget -O /usr/local/bin/reg \
|
||||
chmod +x /kaniko/jq && \
|
||||
wget -O /kaniko/reg \
|
||||
https://github.com/genuinetools/reg/releases/download/v0.16.1/reg-linux-386 && \
|
||||
chmod +x /usr/local/bin/reg
|
||||
chmod +x /kaniko/reg
|
||||
|
||||
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