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

View File

@ -7,6 +7,7 @@ pipeline:
- go build -o segfautils - go build -o segfautils
dockerize_n_publish: dockerize_n_publish:
when: when:
branch : [master]
event: [push] event: [push]
name: dockerize and publish name: dockerize and publish
image: plugins/docker image: plugins/docker
@ -19,6 +20,19 @@ pipeline:
from_secret: password from_secret: password
repo: projectsegfault/segfautils repo: projectsegfault/segfautils
dockerfile: Dockerfile 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