mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 01:08:53 +00:00
18 lines
378 B
Go
18 lines
378 B
Go
workspace:
|
|
base: /srv/gitbook-src
|
|
path: .
|
|
pipeline:
|
|
build:
|
|
image: yeasy/docker_practice:latest
|
|
# pull: true
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
secrets: [key1, key2]
|
|
commands:
|
|
# - echo $${key1}
|
|
# - echo $KEY2
|
|
- docker-entrypoint.sh build
|
|
when:
|
|
event: [push, pull_request, tag, deployment]
|
|
branch: master
|