changed registry and updated drone pipeline format
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2023-05-13 10:14:00 +02:00
parent 6c31ae50ac
commit ada3cb5c60
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,5 @@
kind: pipeline kind: pipeline
type: docker
name: default name: default
steps: steps:
@ -8,7 +9,7 @@ steps:
settings: settings:
daemon_off: false daemon_off: false
dry_run: true dry_run: true
repo: registry.libreschool.org/libreschool-automation/rpm-pack repo: git.libreschool.org/libreschool-automation/rpm-pack
tags: tags:
- latest - latest
when: when:
@ -21,14 +22,15 @@ steps:
pull: always pull: always
settings: settings:
daemon_off: false daemon_off: false
password: force_tag: true
from_secret: docker_password registry: git.libreschool.org
registry: registry.libreschool.org
repo: registry.libreschool.org/libreschool-automation/rpm-pack
tags:
- latest
username: username:
from_secret: docker_username from_secret: docker_username
password:
from_secret: docker_password
repo: git.libreschool.org/libreschool-automation/rpm-pack
tags:
- latest
when: when:
event: event:
- tag - tag

View File

@ -22,7 +22,7 @@ name: default
steps: steps:
- name: create_targz - name: create_targz
image: registry.libreschool.org/libreschool-automation/rpm-pack:latest image: git.libreschool.org/libreschool-automation/rpm-pack:latest
pull: always pull: always
settings: settings:
dest: myfile.tar.gz dest: myfile.tar.gz
@ -52,7 +52,7 @@ name: default
steps: steps:
- name: create_targz - name: create_targz
image: registry.libreschool.org/libreschool-automation/rpm-pack:latest image: git.libreschool.org/libreschool-automation/rpm-pack:latest
pull: always pull: always
settings: settings:
dest: $$NAME-$$VERSION-$$RELEASE.tar.gz dest: $$NAME-$$VERSION-$$RELEASE.tar.gz