drone-kaniko/.drone.yml
surtur ab07d57e85
All checks were successful
continuous-integration/drone/push Build is passing
Merge remote-tracking branch 'upstream/main' into merge-main
2022-03-26 17:15:57 +01:00

36 lines
572 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang:1.17.7
commands:
- go test ./...
- sh scripts/build.sh
- name: docker-publish
image: plugins/docker
settings:
repo: immawanderer/drone-kaniko
tags:
- linux-amd64
- ${DRONE_COMMIT_SHA:0:8}
daemon_off: false
dockerfile: docker/docker/Dockerfile.linux.amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
exclude:
- pull_request
trigger:
ref:
- refs/heads/dev
...