Fix kaniko-gcr docker file

This commit is contained in:
Shubham Agrawal 2020-11-26 23:47:00 +05:30
parent e200b5c566
commit ee562a4a1b
4 changed files with 4 additions and 13 deletions

@ -15,7 +15,7 @@ import (
const (
// GCR JSON key file path
gcrKeyPath string = "/kaniko/gcr.json"
gcrKeyPath string = "/kaniko/config.json"
gcrEnvVariable string = "GOOGLE_APPLICATION_CREDENTIALS"
)

@ -1,7 +1,4 @@
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
FROM gcr.io/kaniko-project/executor:v1.3.0
ADD release/linux/amd64/kaniko-docker /kaniko/
ENTRYPOINT ["/kaniko/kaniko-docker"]

@ -1,7 +1,4 @@
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
FROM gcr.io/kaniko-project/executor:v1.3.0
ADD release/linux/amd64/kaniko-ecr /kaniko/
ENTRYPOINT ["/kaniko/kaniko-ecr"]

@ -1,7 +1,4 @@
FROM gcr.io/kaniko-project/executor:amd64-v1.3.0
ENV HOME /root
ENV USER root
FROM gcr.io/kaniko-project/executor:v1.3.0
ADD release/linux/amd64/kaniko-gcr /kaniko/
ENTRYPOINT ["/kaniko/kaniko-gcr"]