Skip to content
Snippets Groups Projects
Commit c2688d3d authored by s2870355's avatar s2870355
Browse files

created dockerfile

parent a46acb4e
No related branches found
No related tags found
No related merge requests found
Pipeline #72049 failed
include:
- gitlab-ci.yml
\ No newline at end of file
build:
image: docker:20.10.16
stage: build
services:
- docker:20.10.16-dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
\ No newline at end of file
FROM python:latest
RUN mkdir -p /parse-ci
COPY job_data.py /parse-ci/job_data.py
COPY parse-ci.py /parse-ci/parse-ci.py
WORKDIR build/
CMD ["python", "parse-ci/parse-ci.py"]
\ No newline at end of file
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