Fixed tag syntax & added username & password from secret
This commit is contained in:
@@ -36,15 +36,18 @@ steps:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repo: ghcr.io/kevinmidboe/seasoned
|
repo: ghcr.io/kevinmidboe/seasoned
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tags: [latest, "${DRONE_TAG}"]
|
tags: latest
|
||||||
|
|
||||||
- name: Publish docker image
|
- name: Publish docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repo: ghcr.io/kevinmidboe/seasoned
|
repo: ghcr.io/kevinmidboe/seasoned
|
||||||
dockerfile: Dockerfile
|
username:
|
||||||
tags: [latest, "${DRONE_TAG}"]
|
from_secret: GITHUB_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: GITHUB_PASSWORD
|
||||||
|
tags: latest
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user