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:51:49 +02:00
parent e8d74a33bf
commit c7591d736c
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 8 additions and 6 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-build repo: git.libreschool.org/libreschool-automation/rpm-build
tags: tags:
- latest - latest
- 7 - 7
@ -22,15 +23,16 @@ steps:
pull: always pull: always
settings: settings:
daemon_off: false daemon_off: false
force_tag: true
registry: git.libreschool.org
username:
from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
registry: registry.libreschool.org repo: git.libreschool.org/libreschool-automation/rpm-build
repo: registry.libreschool.org/libreschool-automation/rpm-build
tags: tags:
- latest - latest
- 7 - 7
username:
from_secret: docker_username
when: when:
event: event:
- tag - tag

View File

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