parent
43a915abf7
commit
3e9ab0e536
@ -8,6 +8,7 @@ pipeline:
|
||||
- go build .
|
||||
dockerize:
|
||||
when:
|
||||
branch: [main, master]
|
||||
event: [push]
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -18,9 +19,18 @@ pipeline:
|
||||
from_secret: docker_passwd
|
||||
# password = key or actual password
|
||||
auto_tag: true
|
||||
when:
|
||||
dockerize-dev:
|
||||
when:
|
||||
event: [push]
|
||||
branch: [dev]
|
||||
auto_tag_suffix: dev
|
||||
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: odyssey/gothub
|
||||
username:
|
||||
from_secret: docker_user
|
||||
password:
|
||||
from_secret: docker_passwd
|
||||
# password = key or actual password
|
||||
tags: dev
|
||||
|
||||
branches: [main, master]
|
||||
|
Loading…
Reference in New Issue
Block a user