This repository has been archived on 2022-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
Segfautils/.woodpecker.yml

41 lines
960 B
YAML
Raw Permalink Normal View History

2022-08-13 01:10:02 +05:30
pipeline:
build:
2022-08-13 02:00:52 +05:30
when:
event: [push, pull_request, tag, deployment]
2022-09-17 03:46:29 +05:30
2022-08-13 01:10:02 +05:30
image: golang:latest
commands:
2022-08-13 01:17:59 +05:30
- go build -o segfautils
2022-08-13 02:00:52 +05:30
dockerize_n_publish:
when:
branch : [master]
2022-08-13 02:24:05 +05:30
event: [push]
2022-08-13 02:00:52 +05:30
name: dockerize and publish
2022-09-18 03:46:52 +05:30
image: plugins/docker
2022-09-18 03:54:32 +05:30
registry: git.projectsegfau.lt
2022-09-18 04:56:10 +05:30
repo: git.projectsegfau.lt/projectsegfault/segfautils
2022-08-13 01:38:51 +05:30
settings:
username:
from_secret: username
password:
from_secret: password
2022-08-13 02:08:03 +05:30
repo: projectsegfault/segfautils
2022-08-13 01:38:51 +05:30
dockerfile: Dockerfile
dockerize_dev:
when:
event: [push]
2022-09-18 05:07:34 +05:30
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
2022-08-13 01:37:34 +05:30
2022-08-13 01:17:59 +05:30