Skip to content
Snippets Groups Projects
Commit 7b649bdd authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

registry and jobs

parent 715b8451
No related branches found
No related tags found
No related merge requests found
Pipeline #65817 passed
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
- gitlab docker registry which is hosting the image built from the Dockerfile - gitlab docker registry which is hosting the image built from the Dockerfile
## Howto ## Howto
- create/copy/adapt the .gitlab-ci.yml file - create/copy/adapt the .gitlab-ci.yml file (once)
.gitlab-ci.yml .gitlab-ci.yml
``` ```
image: registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:latest image: registry-gitlab.pasteur.fr/dsi-tools/docker-images/docker:latest
...@@ -31,6 +30,10 @@ build: ...@@ -31,6 +30,10 @@ build:
- docker tag "$CI_REGISTRY_IMAGE:latest" "$CI_REGISTRY_IMAGE:$MY_TIME" - docker tag "$CI_REGISTRY_IMAGE:latest" "$CI_REGISTRY_IMAGE:$MY_TIME"
- docker push "$CI_REGISTRY_IMAGE:$MY_TIME" - docker push "$CI_REGISTRY_IMAGE:$MY_TIME"
``` ```
- every push will rebuid the docker image (check the jobs at https://gitlab.pasteur.fr/tru/conda-container-howto/-/jobs)
- tags added: latest, YYYY-MM-DD-hhmm, short-hash, long-hash
- `singularity build my.sif docker://registry-gitlab.pasteur.fr/tru/conda-container-howto:latest`
- https://gitlab.pasteur.fr/tru/conda-container-howto/container_registry
## Caveats ## Caveats
- docker registry is rate limited - docker registry is rate limited
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment