Fixed tag syntax & added username & password from secret

This commit is contained in:
2022-08-13 13:08:18 +02:00
parent 4a5dddac75
commit 88edc03b8b

View File

@@ -36,15 +36,18 @@ steps:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
dockerfile: Dockerfile
tags: [latest, "${DRONE_TAG}"]
tags: latest
- name: Publish docker image
image: plugins/docker
settings:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
dockerfile: Dockerfile
tags: [latest, "${DRONE_TAG}"]
username:
from_secret: GITHUB_USERNAME
password:
from_secret: GITHUB_PASSWORD
tags: latest
- name: deploy
image: appleboy/drone-ssh