Drone CI: Build and publish (#1)

* Build and publish to ghcr with drone CI

* Sign drone config file

* Updated build step name

* Allow publish on this branch for testing

* Try set image source label to ghcr

* Update label image source structure

* Remove git suffix of container source

* Remove ci branch from allowed publish branches
This commit is contained in:
2022-12-03 16:31:38 +01:00
committed by GitHub
parent 899f61b7d8
commit 55cc8eca71
2 changed files with 42 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
# Build the project
FROM golang:1.19 as builder
LABEL org.opencontainers.image.source="https://github.com/KevinMidboe/planetposen-mail"
WORKDIR /go/src/github.com/kevinmidboe/planetposen-mail
ADD . .