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