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 20:15:04 +02:00
parent 4d8a9cf78d
commit 4ebb1b9a1f
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/libreschool-iso-builder
repo: git.libreschool.org/libreschool-automation/libreschool-iso-builder
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/libreschool-iso-builder
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/libreschool-iso-builder
tags:
- latest
when:
event:
- tag

View File

@ -1,7 +1,7 @@
FROM centos:7
RUN yum install -y epel-release && \
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-15.ns7.noarch.rpm && \
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-19.ns7.noarch.rpm && \
yum localinstall -y https://repo.libreschool.org/nethserver/7/base/x86_64/Packages/libreschool-release-1.0-1.noarch.rpm && \
yum install -y curl wget p7zip p7zip-plugins createrepo genisoimage syslinux isomd5sum cpio