Skip to content

Commit

Permalink
commenting out the copy from gcr to ghcr due issues on github side (s…
Browse files Browse the repository at this point in the history
…igstore#1715)

Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored and mlieberman85 committed May 6, 2022
1 parent d4f9fc4 commit 9c04ae5
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions release/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,29 +65,29 @@ steps:
gcloud auth configure-docker \
&& make release
- name: ghcr.io/gythialy/golang-cross:v1.17.8-1@sha256:38effe76e69a728f6c2e76b290c0d5e09fdff439926e3bbe7e69978c84c185f3
entrypoint: 'bash'
dir: "go/src/sigstore/cosign"
env:
- "GOPATH=/workspace/go"
- "GOBIN=/workspace/bin"
- PROJECT_ID=${PROJECT_ID}
- KEY_LOCATION=${_KEY_LOCATION}
- KEY_RING=${_KEY_RING}
- KEY_NAME=${_KEY_NAME}
- KEY_VERSION=${_KEY_VERSION}
- GIT_TAG=${_GIT_TAG}
- KO_PREFIX=gcr.io/${PROJECT_ID}
- COSIGN_EXPERIMENTAL=true
- GOOGLE_SERVICE_ACCOUNT_NAME=keyless@${PROJECT_ID}.iam.gserviceaccount.com
- GITHUB_USER=${_GITHUB_USER}
secretEnv:
- GITHUB_TOKEN
args:
- '-c'
- |
echo $$GITHUB_TOKEN | docker login ghcr.io -u $$GITHUB_USER --password-stdin \
&& make copy-signed-release-to-ghcr
# - name: ghcr.io/gythialy/golang-cross:v1.17.8-1@sha256:38effe76e69a728f6c2e76b290c0d5e09fdff439926e3bbe7e69978c84c185f3
# entrypoint: 'bash'
# dir: "go/src/sigstore/cosign"
# env:
# - "GOPATH=/workspace/go"
# - "GOBIN=/workspace/bin"
# - PROJECT_ID=${PROJECT_ID}
# - KEY_LOCATION=${_KEY_LOCATION}
# - KEY_RING=${_KEY_RING}
# - KEY_NAME=${_KEY_NAME}
# - KEY_VERSION=${_KEY_VERSION}
# - GIT_TAG=${_GIT_TAG}
# - KO_PREFIX=gcr.io/${PROJECT_ID}
# - COSIGN_EXPERIMENTAL=true
# - GOOGLE_SERVICE_ACCOUNT_NAME=keyless@${PROJECT_ID}.iam.gserviceaccount.com
# - GITHUB_USER=${_GITHUB_USER}
# secretEnv:
# - GITHUB_TOKEN
# args:
# - '-c'
# - |
# echo $$GITHUB_TOKEN | docker login ghcr.io -u $$GITHUB_USER --password-stdin \
# && make copy-signed-release-to-ghcr

availableSecrets:
secretManager:
Expand Down

0 comments on commit 9c04ae5

Please sign in to comment.