Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci-pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IOPSYS
gitlab-ci-pipeline
Merge requests
!18
CI: add missing IS_DEFAULT_BRANCH variable
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CI: add missing IS_DEFAULT_BRANCH variable
9341-build-latest-img
into
devel
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Roman Azarenko
requested to merge
9341-build-latest-img
into
devel
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
74aed1d0
Show latest version
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
74aed1d0
CI: add missing IS_DEFAULT_BRANCH variable
· 74aed1d0
Roman Azarenko
authored
1 year ago
.gitlab-ci.yml
+
1
−
0
Options
@@ -35,6 +35,7 @@ update-docker-image:
script
:
# push to our registry
-
if [ "${CI_COMMIT_REF_NAME:-}" = "${CI_DEFAULT_BRANCH}" ]; then IS_DEFAULT_BRANCH=1; fi
-
|
/kaniko/executor \
--context ${CI_PROJECT_DIR}/docker/code-analysis \
Loading