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.
31 lines
538 B
31 lines
538 B
name: lucifer3
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
steps:
|
|
- name: go-test
|
|
image: golang:1.17
|
|
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/lucifer/backend
|
|
registry: r.vmaple.dev
|
|
dockerfile: docker/backend/Dockerfile
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
|