Initial .gitlab-ci.yml file

This commit is contained in:
niansa 2024-03-08 08:53:44 +00:00
parent ecdbae94c9
commit 2277842442

View file

@ -0,0 +1,12 @@
stages:
- build
build docker image:
stage: package
image: docker
services:
- docker:dind
script:
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE