forked from Ivasoft/github-actions
23 lines
445 B
YAML
23 lines
445 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang:1.19
|
|
commands:
|
|
- go test ./...
|
|
- sh scripts/build.sh
|
|
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
registry: https://git.ivasoft.cz
|
|
username:
|
|
from_secret: repo_user
|
|
password:
|
|
from_secret: repo_pass
|
|
repo: git.ivasoft.cz/sw/github-actions
|
|
dockerfile: docker/Dockerfile.linux.amd64
|
|
tags:
|
|
- latest
|
|
- ${DRONE_TAG:-latest} |