You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

33 lines
779 B

---
kind: pipeline
type: docker
name: default
steps:
- name: release
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
settings:
repo: baseimage/yamlint
tags:
- ${DRONE_TAG}
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- docker build -t baseimage-yamllint:${DRONE_TAG} image -f image/Dockerfile
- docker login registry.fedy95.com -u"$DOCKER_USERNAME" -p"$DOCKER_PASSWORD"
- docker push registry.fedy95.com/baseimage-yamllint:${DRONE_TAG}
- docker logout registry.fedy95.com
when:
event: tag
volumes:
- name: dockersock
host:
path: /var/run/docker.sock