Split build & publish steps & added github registry

This commit is contained in:
2022-08-13 12:53:39 +02:00
parent fee26fb9e1
commit 4a5dddac75

View File

@@ -32,7 +32,17 @@ steps:
- name: Build and tag docker image
image: plugins/docker
settings:
repo: kevinmidboe/seasoned
dry_run: true
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
dockerfile: Dockerfile
tags: [latest, "${DRONE_TAG}"]
- name: Publish docker image
image: plugins/docker
settings:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
dockerfile: Dockerfile
tags: [latest, "${DRONE_TAG}"]