Skip to content
Snippets Groups Projects
Verified Commit dfab8b90 authored by Paweł J. Wal's avatar Paweł J. Wal :wave:
Browse files

mark nightly builds with commit sha

parent 65956ebd
No related branches found
No related tags found
No related merge requests found
Pipeline #509 failed
......@@ -77,6 +77,8 @@ release-nightly:
name: gcr.io/kaniko-project/executor:v1.23.2-debug
entrypoint: [""]
script:
- sed -i '/^const VERSION/d' config/consts.go
- echo "const VERSION = \"nightly-${CI_COMMIT_SHORT_SHA}\"" > config/consts.go
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"${CI_REGISTRY_TOKEN}\"}}}" > /kaniko/.docker/config.json
- cat /kaniko/.docker/config.json
- /kaniko/executor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment