Fixed tag syntax & added username & password from secret
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user