标签:html runner rest cat cut creat useradd name executor
$cat /etc/gitlab-runner/config.toml concurrent = 1 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "my-runner" url = "https://gitlab.com/" token = "XXXXXXXXXXXXXXX" executor = "shell" [runners.cache] [runners.cache.s3] [runners.cache.gcs]
stages: - build before_script: - docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" $DOCKER_ADDRESS build_image: stage: build script: - docker build -f Dockerfile -t "$DOCKER_ADDRESS/workspace/myimage" . - docker push "$DOCKER_ADDRESS/workspace/myimage"
https://docs.gitlab.com/ce/ci/docker/using_docker_build.html
http://answ.me/post/build-docker-images-automatically-via-gitlab-ci/
标签:html runner rest cat cut creat useradd name executor
原文地址:https://www.cnblogs.com/xiongyungang/p/10172471.html