Testing CI/CD

parent 770d58f0
Pipeline #5348 failed with stage
image: docker:latest
services: ['docker:dind']
stages:
- build
before_script:
# Authenticate to GitLab Docker Registry before executing tasks
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.duniter.org
build:docker:
stage: build
script:
- docker build -t registry.duniter.org/ci/docker . # Building image from `Dockerfile`
- docker push registry.duniter.org/ci/docker # Pushing builded image to registry
\ No newline at end of file
FROM docker:latest
RUN apk add --no-cache python py-pip python-dev && pip install docker-compose
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment