From ca52c1594a8e88c5555a88a9dc1a58604705b7af Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Sat, 13 May 2023 10:17:56 +0200 Subject: [PATCH] changed registry and updated drone pipeline format --- .drone.yml | 16 +++++++++------- README.md | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 96f74b0..b1a6d1a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,5 @@ kind: pipeline +type: docker name: default steps: @@ -8,7 +9,7 @@ steps: settings: daemon_off: false dry_run: true - repo: registry.libreschool.org/libreschool-automation/rpm-sign + repo: git.libreschool.org/libreschool-automation/rpm-sign tags: - latest when: @@ -21,14 +22,15 @@ steps: pull: always settings: daemon_off: false - password: - from_secret: docker_password - registry: registry.libreschool.org - repo: registry.libreschool.org/libreschool-automation/rpm-sign - tags: - - latest + force_tag: true + registry: git.libreschool.org username: from_secret: docker_username + password: + from_secret: docker_password + repo: git.libreschool.org/libreschool-automation/rpm-sign + tags: + - latest when: event: - tag diff --git a/README.md b/README.md index 5a977ab..78c73c8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ name: default steps: - name: pkg_sign - image: registry.libreschool.org/libreschool-automation/rpm-sign:latest + image: git.libreschool.org/libreschool-automation/rpm-sign:latest pull: always settings: gpg_key: [] @@ -38,7 +38,7 @@ name: default steps: - name: pkg_sign - image: registry.libreschool.org/libreschool-automation/rpm-sign:latest + image: git.libreschool.org/libreschool-automation/rpm-sign:latest pull: always settings: files: my_package.rpm