This commit is contained in:
parent
a7f56fc2de
commit
838a22b3c0
@ -8,27 +8,30 @@ pipeline:
|
||||
- go build .
|
||||
dockerize:
|
||||
when:
|
||||
event: [push, tag]
|
||||
branch: [main, master]
|
||||
event: [push]
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: odyssey/gothub
|
||||
registry: codeberg.org
|
||||
repo: codeberg.org/odyssium/gothub
|
||||
username:
|
||||
from_secret: docker_user
|
||||
from_secret: user
|
||||
password:
|
||||
from_secret: docker_passwd
|
||||
from_secret: passwd
|
||||
# password = key or actual password
|
||||
auto_tag: true
|
||||
tags: latest
|
||||
dockerize-dev:
|
||||
when:
|
||||
event: [push]
|
||||
branch: [dev]
|
||||
registry: codeberg.org
|
||||
repo: codeberg.org/odyssium/gothub
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: odyssey/gothub
|
||||
username:
|
||||
from_secret: docker_user
|
||||
from_secret: user
|
||||
password:
|
||||
from_secret: docker_passwd
|
||||
from_secret: passwd
|
||||
# password = key or actual password
|
||||
tags: dev
|
||||
|
Loading…
Reference in New Issue
Block a user