Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vellum
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paweł J. Wal
vellum
Commits
dfab8b90
Verified
Commit
dfab8b90
authored
1 month ago
by
Paweł J. Wal
Browse files
Options
Downloads
Patches
Plain Diff
mark nightly builds with commit sha
parent
65956ebd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#509
failed
1 month ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
with
2 additions
and
0 deletions
.gitlab-ci.yml
+
2
−
0
View file @
dfab8b90
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment