This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
docker-almalinux-base/.drone.yml
Ben Vincent 335aff9cd0
Some checks failed
continuous-integration/drone/push Build is failing
feat: first build testing
- add README
- update build steps to use docker.sock
2024-08-25 17:31:33 +10:00

42 lines
766 B
YAML

kind: pipeline
type: docker
name: build-docker-image
steps:
- name: build
image: docker:20.10.24-cli
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add --no-cache make bash git
- make build
- name: push
image: docker:20.10.24-cli
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add --no-cache make bash git
- make push
- name: clean
image: docker:20.10.24-cli
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add --no-cache make bash git
- make clean
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
trigger:
event:
- push
- pull_request