3 Commits
Author SHA1 Message Date
shnee 70d42722df Add 'docker build' step to pipeline.
continuous-integration/drone/push Build is passing
2022-05-11 08:29:23 -04:00
shnee f2a099fd5d pipeline debug
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
2022-05-10 21:27:42 -04:00
shnee a855c6646c drone test
continuous-integration/drone/push Build is failing
2022-05-10 21:20:11 -04:00
2 changed files with 35 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
---
kind: pipeline
type: docker
name: docker-build
steps:
- name: greeting
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
- docker build . -t shnee/ansible-manjaro
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
+9
View File
@@ -0,0 +1,9 @@
FROM manjarolinux/base:latest
# Install ansible.
#
# python is already isntalled on this base image therefore we don't have to
# reinstall.
RUN pacman -S \
--noconfirm \
ansible