mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2026-02-13 19:09:07 +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
|
||||||
- yarn build
|
- 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:
|
depends_on:
|
||||||
- Lint and build project
|
- Lint and build project
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
- ci/ghcr-publish
|
||||||
event:
|
event:
|
||||||
|
include:
|
||||||
|
- push
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 84765f19d995d66f1d3409c4eddd1f68d1f2d297d65cd9e2612e6bb13e8ecb94
|
hmac: eac31ba5baf0202b5920c39674cbb95767fe91e8ee36c773e2db78eee31e8879
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user