Files
installer-tool/.drone.yml
Gyorgy Berenyi 48699a0498
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
drone test
2024-01-29 12:28:30 +00:00

33 lines
620 B
YAML

kind: pipeline
name: default
trigger:
branch:
- master
event:
- push
workspace:
path: /drone/src
environment:
IMAGE_NAME: installer-tool
DOCKER_REGISTRY_URL: registry.format.hu
steps:
- name: build demo image
image: plugins/docker
commands:
- cd /drone/src/
- docker build -t $${DOCKER_REGISTRY_URL}/$${IMAGE_NAME} -f Dockerfile .
- docker push $${DOCKER_REGISTRY_URL}/$${IMAGE_NAME}
when:
branch:
- master
volumes:
- name: docker
path: /var/run/docker.sock
volumes:
- name: docker
host:
path: /var/run/docker.sock