changed registry and updated drone pipeline format
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Paolo Asperti 2023-05-13 11:53:06 +02:00
parent 9cf2d57139
commit 7220af5c71
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 10 additions and 8 deletions

View File

@ -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:
- 6
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-build
tags:
- 6
force_tag: true
registry: git.libreschool.org
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: git.libreschool.org/libreschool-automation/rpm-build
tags:
- 6
when:
event:
- tag

View File

@ -19,7 +19,7 @@ name: default
steps:
- name: build
image: registry.libreschool.org/libreschool-automation/rpm-build:6
image: git.libreschool.org/libreschool-automation/rpm-build:6
pull: always
commands:
- yum-builddep -y mypackage.spec