22 lines
379 B
YAML
22 lines
379 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test ./...
|
||
|
|
||
|
- name: publish
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
repo: itsblue.dev/plugins/codeberg-pages-deploy
|
||
|
auto_tag: true
|
||
|
dockerfile: docker/Dockerfile
|
||
|
username:
|
||
|
from_secret: docker_username
|
||
|
password:
|
||
|
from_secret: docker_password
|