2023-06-18 13:34:10 -07:00
|
|
|
---
|
|
|
|
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
|
2023-06-18 13:35:40 -07:00
|
|
|
image: golang:latest
|
2023-06-18 13:34:10 -07:00
|
|
|
commands:
|
|
|
|
- go build
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|