busybox/.drone.yml
Joe Groocock 1bb92b4a91
All checks were successful
continuous-integration/drone/push Build is passing
Update drone config to 1.x
2019-06-22 23:40:46 +01:00

53 lines
971 B
YAML

---
kind: pipeline
name: build-test-publish
platform:
os: linux
arch: amd64
steps:
- name: build
image: spritsail/docker-build
pull: always
settings:
use_cache: true
repo: busybox-dev
- name: test
image: busybox-dev
pull: never
commands:
- set -ex
- ldconfig -p
- "test -f /lib/libc-*.so"
- nslookup cloudflare.com
- "test $(date +%Z) = UTC"
- test $(echo This is a test string | md5sum | cut -f1 -d\ | tee /dev/stderr) = b584c39f97dfe71ebceea3fdb860ed6c
- name: publish
pull: always
image: spritsail/docker-publish
settings:
from: busybox-dev
repo: spritsail/busybox
tags:
- latest
- "%label io.spritsail.version.busybox"
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
when:
branch:
- master
event:
- promote
---
kind: signature
hmac: 91a213eb8dd33d761da3dabb4fb6d4b05bdbf55ea47ba40c1e9770a5dafbcecb
...