Portfolio-DX/.drone.yml
Danilo Cesa c96d88e62a
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
build: change drone config to test pipeline
2025-08-02 00:57:54 +08:00

25 lines
464 B
YAML

kind: pipeline
name: portfolio
steps:
- name: build
image: docker:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker build -t portfolio-image .
- name: deploy
image: docker:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker run -p 8180:8180 -d portfolio-image
volumes:
- name: dockersock
host:
path: /var/run/docker.sock