Initial commit: Dockerfile, CI, README

This commit is contained in:
2026-09-13 09:56:07 +02:00
commit f7970692a6
3 changed files with 42 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
stages:
- build
build:
stage: build
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- docker build -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" -t "$CI_REGISTRY_IMAGE:latest" .
- docker push --all-tags "$CI_REGISTRY_IMAGE"
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH