Skip to content
Snippets Groups Projects
Commit 5537e189 authored by Michael Thies's avatar Michael Thies
Browse files

Fix docker push: Add login with GitLab-provided credentials

parent 2fdd3397
Branches
No related tags found
No related merge requests found
......@@ -4,4 +4,6 @@ build:
stage: build
script:
- docker image build -t registry.git.rwth-aachen.de/acplt/rte-tools/rte-build-docker-image/image .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push registry.git.rwth-aachen.de/acplt/rte-tools/rte-build-docker-image/image
- docker logout $CI_REGISTRY
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment