Updated drone ci to publish conatiner to ghcr

This commit is contained in:
2023-04-07 00:01:43 +02:00
parent 6c35257f00
commit d7567b4242

View File

@@ -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
...