Compare commits

...

1 Commits

Author SHA1 Message Date
e06296d69a
switch to debian:buster slim and install make
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-27 18:39:41 -08:00

View File

@ -4,7 +4,7 @@ name: default
steps: steps:
- name: make - name: make
image: docker:dind image: debian:buster-slim
environment: environment:
USERNAME: USERNAME:
from_secret: docker_username from_secret: docker_username
@ -12,11 +12,17 @@ steps:
from_secret: docker_password from_secret: docker_password
REGISTRY: REGISTRY:
from_secret: docker_registry from_secret: docker_registry
DOCKERVERSION: "19.03.9"
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
commands: commands:
- apt-get update && apt install -y --no-install-recommends curl make ca-certificates
- curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-$${DOCKERVERSION}.tgz
- tar xzvf docker-$${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker
- rm docker-$${DOCKERVERSION}.tgz
- sleep 5 # give docker enough time to start - sleep 5 # give docker enough time to start
- echo login $REGISTRY
- docker login -u $USERNAME -p $PASSWORD $REGISTRY - docker login -u $USERNAME -p $PASSWORD $REGISTRY
- make manifest-list - make manifest-list
- name: notify - name: notify