2022-12-07 14:58:20 +01:00
|
|
|
pipeline:
|
|
|
|
build_commit:
|
2022-12-07 15:19:11 +01:00
|
|
|
image: plugins/docker
|
|
|
|
secrets: [registry_user, registry_password]
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: registry_user
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
repo: gitnet.fr/$CI_REPO
|
|
|
|
tags: $CI_COMMIT_SHA
|
2022-12-07 14:58:20 +01:00
|
|
|
when:
|
|
|
|
event: [push]
|
|
|
|
|
2022-12-07 14:58:59 +01:00
|
|
|
build_tag:
|
2022-12-07 15:19:11 +01:00
|
|
|
image: plugins/docker
|
|
|
|
secrets: [registry_user, registry_password]
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: registry_user
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
repo: gitnet.fr/$CI_REPO
|
|
|
|
tags: $CI_COMMIT_TAG
|
2022-12-07 14:58:20 +01:00
|
|
|
when:
|
|
|
|
event: [tag]
|