Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cedric Verstege
docker-images
Commits
383fadcc
Commit
383fadcc
authored
9 months ago
by
Cedric Verstege
Browse files
Options
Downloads
Patches
Plain Diff
Add CI pipeline
parent
a7356eac
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3589
failed
9 months ago
Stage: update
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-0
27 additions, 0 deletions
.gitlab-ci.yml
with
27 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
27
−
0
View file @
383fadcc
stages
:
-
update
-
build
variables
:
DOCKER_IMAGE
:
cverstege/alma9-base
DOCKER_TAG
:
latest
before_script
:
-
apt-get update && apt-get install -y curl
update_dockerfile
:
stage
:
update
script
:
-
./alma9-base/update.sh
-
git config user.name "CI Pipeline"
-
git config user.email "cedric.verstege@kit.edu"
-
git add alma9-base/Dockerfile
-
git commit -m "Update upstream to version $(grep -oP "FROM cern/alma9-base:\K[\w.-]+" "${THIS_DIR}/Dockerfile")"
-
git push HEAD:$CI_COMMIT_REF_NAME
-
git remote set-url --push origin "https://$CI_COMMITTER_USER_AND_TOKEN@gitlab.etp.kit.edu/cverstege/docker-images.git"
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
when
:
always
allow_failure
:
false
-
when
:
manual
allow_failure
:
true
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