Skip to content

Commit

Permalink
ci: add labels to produced containers
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Aug 16, 2023
1 parent f7b8b4d commit ccb6c8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -142,6 +142,7 @@ container:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- >
/kaniko/executor
--label dcache-testing
--context $CI_PROJECT_DIR
--build-arg "EXTRA_PKG=openssl"
--build-arg "EXTRA_RPM='https://www.desy.de/~tigran/ca_dCacheORG-3.0-6.noarch.rpm https://linuxsoft.cern.ch/wlcg/centos7/x86_64/desy-voms-all-1.0.0-1.noarch.rpm'"
Expand Down Expand Up @@ -289,6 +290,7 @@ upload_container:
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"$DOCKER_HUB_USER\",\"password\":\"$DOCKER_HUB_ACCESS_KEY\"}}}" > /kaniko/.docker/config.json
- >
/kaniko/executor
--label dcache-GA
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination dcache/dcache:$tag
Expand Down

0 comments on commit ccb6c8d

Please sign in to comment.