mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 19:22:13 +02:00
fix cloudbuild release
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# Builds the static Go image to execute in a Kubernetes job
|
||||
|
||||
# Stage 0: Build the executor binary and get credential helpers
|
||||
FROM golang:1.14
|
||||
FROM golang:1.15
|
||||
ARG GOARCH=amd64
|
||||
RUN echo $GOARCH > /goarch
|
||||
|
||||
@@ -30,7 +30,7 @@ RUN cat /goarch
|
||||
WORKDIR /go/src/github.com/GoogleContainerTools/kaniko
|
||||
|
||||
# Get GCR credential helper
|
||||
RUN GOARCH=$(cat /goarch) && CGO_ENABLED=0 && \
|
||||
RUN GOARCH=$(cat /goarch) && \
|
||||
(mkdir -p /go/src/github.com/GoogleCloudPlatform || true) && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform && \
|
||||
git clone https://github.com/GoogleCloudPlatform/docker-credential-gcr.git && \
|
||||
|
||||
Reference in New Issue
Block a user