forked from GitHub/virtualtabletop
27 lines
632 B
YAML
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 |