Files
planetposen-images/.drone.yml

41 lines
706 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: GHCR_UPLOAD_TOKEN
tags: latest
when:
event:
include:
- push
exclude:
- pull_request
branch:
- main
---
kind: signature
hmac: 0886d40c8f4b4585dae46a5cb7a2ee0119ebccb39f2876dce41401be07a97ef8
...