and now to actually build it X_x
This commit is contained in:
parent
a8b69e8750
commit
e312aac855
28
.drone.yml
28
.drone.yml
@ -107,6 +107,18 @@ steps:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
- name: build-centos-8
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: centos-8/Dockerfile
|
||||
dry_run: true
|
||||
repo: lerentis/ansible
|
||||
tag: centos-8
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
- name: build-centos-7
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -257,6 +269,20 @@ steps:
|
||||
event:
|
||||
- tag
|
||||
|
||||
- name: build-centos-8-publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: centos-8/Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: lerentis/ansible
|
||||
tag: centos-8
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
- name: build-arch-publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -291,6 +317,7 @@ steps:
|
||||
- build-debian-8
|
||||
- build-debian-7
|
||||
- build-centos-7
|
||||
- build-centos-8
|
||||
- build-arch
|
||||
- build-ubuntu-20-publish
|
||||
- build-ubuntu-18-publish
|
||||
@ -301,4 +328,5 @@ steps:
|
||||
- build-debian-8-publish
|
||||
- build-debian-7-publish
|
||||
- build-centos-7-publish
|
||||
- build-centos-8-publish
|
||||
- build-arch-publish
|
||||
|
@ -1,8 +1,7 @@
|
||||
FROM centos:8
|
||||
|
||||
RUN yum -y install epel-release \
|
||||
&& yum -y install ansible git \
|
||||
&& yum clean headers \
|
||||
&& yum clean packages
|
||||
RUN dnf -y install python3-pip &&\
|
||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &&\
|
||||
dnf install -y --enablerepo epel-playground ansible
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
||||
|
Loading…
Reference in New Issue
Block a user