Commit 99460bb7 authored by 金凯强's avatar 金凯强 🎨

CI配置

parent 96140f20
Pipeline #22352 passed with stage
in 23 seconds
......@@ -12,17 +12,6 @@ variables:
before_script:
- docker login -u $HUANSI_USER -p $HUANSI_PASSWORD $HUANSI_REGISTRY_URL
build:
stage: build
retry: 2
tags:
- dev
script:
- python /sync_release_info_to_db.py
- docker build -t ${APP_IMAGE}:${CI_COMMIT_REF_NAME} .
except:
- master
push:
stage: push
retry: 2
......
FROM 47.110.145.204:8084/huansi/python3:slim-util-0.0.1
FROM 47.110.145.204:8084/huansi/python:install
COPY . .
EXPOSE 8080
RUN pip install docker -i https://pypi.tuna.tsinghua.edu.cn/simple && pip install -i https://pypi.tuna.tsinghua.edu.cn/simple paramiko
CMD ["/bin/bash","docker_entry.sh"]
......
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