mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 15:28:54 +00:00
Update Drone demo
This commit is contained in:
parent
99a7cd31b4
commit
c68386e0e2
@ -10,7 +10,8 @@ pipeline:
|
|||||||
- KEY=VALUE
|
- KEY=VALUE
|
||||||
secrets: [key1, key2]
|
secrets: [key1, key2]
|
||||||
commands:
|
commands:
|
||||||
- echo $$KEY
|
# - echo $$KEY
|
||||||
- pwd
|
- pwd
|
||||||
- ls
|
- ls
|
||||||
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||||
|
- ./app
|
||||||
|
Loading…
Reference in New Issue
Block a user