Midou36O
0beb8a33de
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
40 lines
955 B
YAML
40 lines
955 B
YAML
pipeline:
|
|
build:
|
|
when:
|
|
event: [push, pull_request, tag, deployment]
|
|
image: golang:latest
|
|
commands:
|
|
- go build -o segfautils
|
|
dockerize_n_publish:
|
|
when:
|
|
branch : [master]
|
|
event: [push]
|
|
name: dockerize and publish
|
|
image: plugins/docker
|
|
registry: git.projectsegfau.lt
|
|
repo: git.projectsegfau.lt/projectsegfault/segfautils
|
|
settings:
|
|
username:
|
|
from_secret: username
|
|
password:
|
|
from_secret: password
|
|
repo: projectsegfault/segfautils
|
|
dockerfile: Dockerfile
|
|
dockerize_dev:
|
|
when:
|
|
event: [push]
|
|
image: plugins/docker
|
|
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
|
|
|
|
|