Files
planetposen-images/.drone.yml

41 lines
704 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
---
kind: signature
hmac: af032206e6fe57ddf4bee365bc616c3d8936973e0aa51e162a662f8026848422
...