mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 11:12:49 +02:00
chore: fix release pipeline (#1772)
This commit is contained in:
@@ -35,7 +35,8 @@ RUN GOARCH=$(cat /goarch) && CGO_ENABLED=0 && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform && \
|
||||
git clone https://github.com/GoogleCloudPlatform/docker-credential-gcr.git && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform/docker-credential-gcr && \
|
||||
go get -u -t ./... && \
|
||||
# pin to a specific commit
|
||||
git checkout 4cdd60d0f2d8a69bc70933f4d7718f9c4e956ff8 && \
|
||||
go build -ldflags "-linkmode external -extldflags -static" -i -o /usr/local/bin/docker-credential-gcr main.go
|
||||
|
||||
# Get Amazon ECR credential helper
|
||||
|
||||
@@ -32,7 +32,8 @@ RUN GOARCH=$(cat /goarch) && CGO_ENABLED=0 && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform && \
|
||||
git clone https://github.com/GoogleCloudPlatform/docker-credential-gcr.git && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform/docker-credential-gcr && \
|
||||
go get -u -t ./... && \
|
||||
# pin to a specific commit
|
||||
git checkout 4cdd60d0f2d8a69bc70933f4d7718f9c4e956ff8 && \
|
||||
go build -ldflags "-linkmode external -extldflags -static" -i -o /usr/local/bin/docker-credential-gcr main.go
|
||||
|
||||
# Get Amazon ECR credential helper
|
||||
|
||||
Reference in New Issue
Block a user