24 lines
498 B
YAML
24 lines
498 B
YAML
pipeline:
|
|
build:
|
|
when:
|
|
event: [push, pull_request, tag, deployment]
|
|
image: golang:latest
|
|
commands:
|
|
- go build -o segfautils
|
|
dockerize_n_publish:
|
|
when:
|
|
event: [push]
|
|
name: dockerize and publish
|
|
image: plugins/docker
|
|
registry: git.projectsegfau.lt/midou/segfautils
|
|
settings:
|
|
username:
|
|
from_secret: username
|
|
password:
|
|
from_secret: password
|
|
repo: projectsegfault/segfautils
|
|
dockerfile: Dockerfile
|
|
|
|
|
|
|