renamed file gitlab ci

This commit is contained in:
Elmar Kresse
2025-01-13 10:58:00 +01:00
parent c3142e3378
commit 1093f49438

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
# Build Python Docker image and save it to GitLab Container Registry
stages:
- build
build:
stage: build
image: docker:latest
services:
- docker:dind
script:
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
only:
- main
- development
- tags
tags:
- docker