This commit is contained in:
Neale Pickett 2024-12-05 16:09:28 -07:00
parent 1901d6ecbf
commit 4192f455b6
1 changed files with 13 additions and 0 deletions

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
stages:
- publish
publish:
stage: publish
only:
refs:
- main
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --tag=$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME -f Dockerfile .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME