Skip to content
Snippets Groups Projects
Verified Commit 1c9fa41d authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add Dockerfile and custom entrypoint

parents
No related branches found
No related tags found
No related merge requests found
FROM docker:dind
COPY entrypoint.sh /
ENTRYPOINT /entrypoint.sh
#!/bin/sh
cd ${CI_PROJECT_DIR}
docker build -t ${CI_REGISTRY_IMAGE} .
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
docker push ${CI_REGISTRY_IMAGE}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment