Midou36O
e72719f6b0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
41 lines
960 B
YAML
41 lines
960 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
|
|
|
|
|