From 8276933421d6a041e65dc47016a1984be4cb799a Mon Sep 17 00:00:00 2001 From: Paul Z Date: Sat, 10 Jun 2023 18:13:10 +0200 Subject: [PATCH] drone ci --- .drone.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index b2d388c..e4f96a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,13 +16,13 @@ steps: when: branch: - master - image: docker:latest - environment: - REGISTRY: git2.zettoit.eu/zettoit/bin - REGISTRY_USER: droneci - REGISTRY_PASSWD: + image: plugins/docker + settings: + repo: git2.zettoit.eu/zettoit/bin/bin + username: droneci + password: from_secret: REGISTRY_PASSWD - commands: - - docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY - - docker build -t $REGISTRY:latest . -f Dockerfile - - docker push $REGISTRY:latest + registry: git2.zettoit.eu + tags: + - latest + - master