32 lines
899 B
YAML
32 lines
899 B
YAML
when:
|
|
- event: push
|
|
branch: main
|
|
|
|
steps:
|
|
- name: ntfy
|
|
image: codeberg.org/l-x/woodpecker-ntfy
|
|
when:
|
|
- event: push
|
|
settings:
|
|
url: https://ntfy.sh/vLAMfcUBF5gNdoIv
|
|
title: Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}
|
|
priority: low
|
|
click: https://woodpecker.keks.cloud/
|
|
icon: https://woodpecker-ci.org/img/logo.svg
|
|
tags: robot,${CI_REPO_NAME}
|
|
message: ${CI_COMMIT_MESSAGE}
|
|
- name: go-tests
|
|
image: golang:1.24
|
|
commands:
|
|
- go test ./...
|
|
- name: build-docker-image
|
|
image: woodpeckerci/plugin-docker-buildx:5.2.1
|
|
settings:
|
|
repo: git.keks.cloud/${CI_REPO_OWNER}/miniauth
|
|
dockerfile: Dockerfile
|
|
#platforms: linux/amd64,linux/arm64,linux/arm64/v8
|
|
tag: ${CI_COMMIT_SHA}
|
|
registry: git.keks.cloud
|
|
username: ${CI_REPO_OWNER}
|
|
password:
|
|
from_secret: docker_password
|