Skip to content
Snippets Groups Projects
Commit fc7dbbae authored by Cedric Verstege's avatar Cedric Verstege
Browse files

Rename alma9 image to alma9-gridjob

parent 11e0cca9
Branches
No related tags found
No related merge requests found
Pipeline #3845 passed
......@@ -3,7 +3,7 @@ stages:
- 🏗️ Build
variables:
DOCKER_IMAGE: cverstege/alma9-base
DOCKER_IMAGE: cverstege/alma9-gridjob
Update Upstream 🛠️:
stage: ⏫ Update
......@@ -13,7 +13,7 @@ Update Upstream 🛠️:
- git config user.name "CI Pipeline"
- git config user.email "cedric.verstege@kit.edu"
- git remote set-url --push origin "https://$CI_COMMITTER_USER_AND_TOKEN@gitlab.etp.kit.edu/cverstege/docker-images.git"
- ./alma9-base/update.sh
- ./alma9-gridjob/update.sh
- git push origin HEAD:$CI_COMMIT_REF_NAME
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
......@@ -27,16 +27,16 @@ Build Docker Image 📦:
image:
name: docker:dind
script:
- CURRENT_TAG=$(grep 'FROM cern/alma9-base:' alma9-base/Dockerfile | sed 's/FROM cern\/alma9-base:\([[:alnum:].-]*\).*/\1/')
- docker build -t $DOCKER_IMAGE:$CURRENT_TAG -t $DOCKER_IMAGE:latest alma9-base
- CURRENT_TAG=$(grep 'FROM cern/alma9-base:' alma9-gridjob/Dockerfile | sed 's/FROM cern\/alma9-base:\([[:alnum:].-]*\).*/\1/')
- docker build -t $DOCKER_IMAGE:$CURRENT_TAG -t $DOCKER_IMAGE:latest alma9-gridjob
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker push cverstege/alma9-base --all-tags
- docker push cverstege/alma9-gridjob --all-tags
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_COMMIT_BRANCH == "main"
changes:
paths:
- alma9-base/Dockerfile
- alma9-gridjob/Dockerfile
- when: manual
allow_failure: true
......@@ -2,4 +2,5 @@
| Image | Upstream | Changes |
|----------------------|-----------------|-----------------------------------------|
| [cverstege/alma9-base](https://hub.docker.com/r/cverstege/alma9-base/) | [cern/alma9-base](https://hub.docker.com/r/cern/alma9-base/) | enabled SHA1, e.g. for old dCache doors |
| [cverstege/alma9-gridjob](https://hub.docker.com/r/cverstege/alma9-gridjob/) | [cern/alma9-base](https://hub.docker.com/r/cern/alma9-base/) | installed HEP OSlibs & enabled SHA1 for old dCache doors |
| [cverstege/cc7-gridjob](https://hub.docker.com/r/cverstege/cc7-gridjob/) | [cern/cc7-base](https://hub.docker.com/r/cern/cc7-base/) | installed HEP OSlibs & further utilities |
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment