mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-07 03:21:26 +02:00
chore: add release workflow on pr (#1785)
* chore: add release workflow on pr * remove linux/s390x * use keys * set up platforms * cancel * update keys * add secrets to env * All platforms added for kaniko Co-authored-by: Kun-Lu <kun.lu@ibm.com> * echi * add mt 1300, remove push * Remove * final change * break executor and executor-slim Co-authored-by: Kun-Lu <kun.lu@ibm.com>
This commit is contained in:
@@ -36,7 +36,9 @@ RUN GOARCH=$(cat /goarch) && CGO_ENABLED=0 && \
|
||||
git clone https://github.com/GoogleCloudPlatform/docker-credential-gcr.git && \
|
||||
cd /go/src/github.com/GoogleCloudPlatform/docker-credential-gcr && \
|
||||
git checkout 4cdd60d0f2d8a69bc70933f4d7718f9c4e956ff8 && \
|
||||
go build -o /usr/local/bin/docker-credential-gcr main.go
|
||||
go get -u -t ./... && \
|
||||
go build -ldflags "-linkmode external -extldflags -static" -i -o /usr/local/bin/docker-credential-gcr main.go
|
||||
|
||||
|
||||
# Get Amazon ECR credential helper
|
||||
RUN GOARCH=$(cat /goarch) && go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login && \
|
||||
|
||||
Reference in New Issue
Block a user