Add dev to docker (there has to be a way to improve this!)

This commit is contained in:
Midou36O 2022-09-18 00:33:50 +01:00
parent bfdc165346
commit 3abdbde812
Signed by: midou
GPG Key ID: 08063D5407090BC2
1 changed files with 15 additions and 1 deletions

View File

@ -7,6 +7,7 @@ pipeline:
- go build -o segfautils
dockerize_n_publish:
when:
branch : [master]
event: [push]
name: dockerize and publish
image: plugins/docker
@ -19,6 +20,19 @@ pipeline:
from_secret: password
repo: projectsegfault/segfautils
dockerfile: Dockerfile
dockerize_dev:
when:
event: [push]
name: dockerize and publish dev
registry: git.projectsegfau.lt
repo: git.projectsegfau.lt/projectsegfault/segfautils
settings:
username:
from_secret: username
password:
from_secret: password
repo: projectsegfau.lt/segfautils
tags: dev
dockerfile: Dockerfile