changed registry and updated drone pipeline format
This commit is contained in:
parent
6c31ae50ac
commit
ada3cb5c60
16
.drone.yml
16
.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-pack
|
||||
repo: git.libreschool.org/libreschool-automation/rpm-pack
|
||||
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-pack
|
||||
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-pack
|
||||
tags:
|
||||
- latest
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
@ -22,7 +22,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: create_targz
|
||||
image: registry.libreschool.org/libreschool-automation/rpm-pack:latest
|
||||
image: git.libreschool.org/libreschool-automation/rpm-pack:latest
|
||||
pull: always
|
||||
settings:
|
||||
dest: myfile.tar.gz
|
||||
@ -52,7 +52,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: create_targz
|
||||
image: registry.libreschool.org/libreschool-automation/rpm-pack:latest
|
||||
image: git.libreschool.org/libreschool-automation/rpm-pack:latest
|
||||
pull: always
|
||||
settings:
|
||||
dest: $$NAME-$$VERSION-$$RELEASE.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user