You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
524 B
26 lines
524 B
name: lucifer4-build
|
|
kind: pipeline
|
|
type: docker
|
|
steps:
|
|
- name: go-test
|
|
image: golang:1.20
|
|
commands:
|
|
- go test -v ./...
|
|
when:
|
|
event:
|
|
exclude:
|
|
- tag
|
|
- name: docker-backend-tag
|
|
image: plugins/docker
|
|
settings:
|
|
auto_tag: true
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: r.vmaple.dev/lucifer4/backend
|
|
registry: r.vmaple.dev
|
|
dockerfile: Dockerfile
|
|
when:
|
|
event:
|
|
- tag
|