Files
planetposen-images/.drone.yml
2022-12-10 15:41:34 +01:00

42 lines
734 B
YAML

---
kind: pipeline
type: docker
name: Build and publish
platform:
os: linux
arch: amd64
steps:
- name: build
image: golang
commands:
- make build
- name: Build and publish docker image
image: plugins/docker
settings:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/planetposen-images
dockerfile: Dockerfile
username:
from_secret: GITHUB_USERNAME
password:
from_secret: GITHUB_PASSWORD
tags: latest
when:
event:
include:
- push
exclude:
- pull_request
branch:
- main
- feat/drone-ci-setup
---
kind: signature
hmac: 8b78559987b3213bc139f7f299ce74e46967fd3a1d7386c264e6c403ccda03ca
...