From c7591d736c3d2f515f2372a26aa59c64c2b6459f Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Sat, 13 May 2023 11:51:49 +0200 Subject: [PATCH] changed registry and updated drone pipeline format --- .drone.yml | 12 +++++++----- README.md | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 790111c..a3f56fa 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-build + repo: git.libreschool.org/libreschool-automation/rpm-build tags: - latest - 7 @@ -22,15 +23,16 @@ steps: pull: always settings: daemon_off: false + force_tag: true + registry: git.libreschool.org + username: + from_secret: docker_username password: from_secret: docker_password - registry: registry.libreschool.org - repo: registry.libreschool.org/libreschool-automation/rpm-build + repo: git.libreschool.org/libreschool-automation/rpm-build tags: - latest - 7 - username: - from_secret: docker_username when: event: - tag diff --git a/README.md b/README.md index 56b69a4..a95bfbf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ name: default steps: - name: build - image: registry.libreschool.org/libreschool-automation/rpm-build:7 + image: git.libreschool.org/libreschool-automation/rpm-build:7 pull: always commands: - yum-builddep -y mypackage.spec