Files
web-installer/.drone.yml
Gyorgy Berenyi ffd6bde25c
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2024-06-28 14:46:32 +00:00

34 lines
659 B
YAML

kind: pipeline
name: default
trigger:
branch:
- main
event:
- push
workspace:
path: /drone/src
environment:
REPO_NAME: web-installer
IMAGE_NAME: web-installer
REGISTRY_SERVER_NAME: registry.format.hu
steps:
- name: build image
image: plugins/docker
commands:
- cd /drone/src/
- docker build --platform linux/amd64 --tag $${REGISTRY_SERVER_NAME}/$${IMAGE_NAME} -f Dockerfile .
- docker push $${REGISTRY_SERVER_NAME}/$${IMAGE_NAME}
when:
branch:
- main
volumes:
- name: docker
path: /var/run/docker.sock
volumes:
- name: docker
host:
path: /var/run/docker.sock