From 4a5dddac7504126d8b7fe79cd8c4e4530c77850d Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sat, 13 Aug 2022 12:53:39 +0200 Subject: [PATCH] Split build & publish steps & added github registry --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b8151c2..0d4e56b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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}"]