virtualtabletop-docker/.drone.yml
decryp7 6d3d1cc5d7
All checks were successful
continuous-integration/drone Build is passing
Add Dockerfile and CI
2023-07-11 20:50:02 +08:00

27 lines
632 B
YAML

kind: pipeline
type: docker
name: default
platform:
os: linux
steps:
- name: build
image: plugins/docker
environment:
DOCKER_USERNAME:
from_secret: repo_username
DOCKER_PASSWORD:
from_secret: repo_password
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker login docker.decryptology.net -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build --no-cache -t docker.decryptology.net/decryptology/virtualtabletop:latest .
- docker push docker.decryptology.net/decryptology/virtualtabletop:latest
volumes:
- name: dockersock
host:
path: /var/run/docker.sock