34 lines
503 B
YAML
34 lines
503 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: build
|
||
|
|
||
|
steps:
|
||
|
- name: build image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
repo: jtom38/cloudflare-ddns
|
||
|
username: jtom38
|
||
|
password:
|
||
|
from_secret: DockerPushPat
|
||
|
trigger:
|
||
|
branch:
|
||
|
include:
|
||
|
- main
|
||
|
- releases/*
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: compile
|
||
|
steps:
|
||
|
- name: Compile project
|
||
|
image: goloang:latest
|
||
|
commands:
|
||
|
- go build
|
||
|
trigger:
|
||
|
event:
|
||
|
- pull_request
|