mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2026-01-09 10:25:29 +00:00
Updated drone ci to publish conatiner to ghcr
This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -36,18 +36,33 @@ steps:
|
||||
- yarn
|
||||
- yarn build
|
||||
|
||||
- name: Publish docker image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: ghcr.io
|
||||
repo: ghcr.io/kevinmidboe/planetposen-frontend
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: GITHUB_USERNAME
|
||||
password:
|
||||
from_secret: GITHUB_PASSWORD
|
||||
tags: latest
|
||||
|
||||
depends_on:
|
||||
- Lint and build project
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- ci/ghcr-publish
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 84765f19d995d66f1d3409c4eddd1f68d1f2d297d65cd9e2612e6bb13e8ecb94
|
||||
hmac: eac31ba5baf0202b5920c39674cbb95767fe91e8ee36c773e2db78eee31e8879
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user