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