3
0
login_themes/.drone.yml
mike 1ac42925d8
All checks were successful
continuous-integration/drone/push Build is passing
updated drone
2022-04-29 14:05:55 +01:00

33 lines
787 B
YAML

---
kind: pipeline
type: docker
name: build-test-deploy
image_pull_secrets:
- registryLoginsFoss
platform:
os: linux
arch: amd64
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: deploy
image: registry.wizewerx.tech/base/wizewerx-docker-compose
volumes:
- name: dockersock
path: /var/run/docker.sock
environment:
DOCKER_AUTH_CONFIG:
from_secret: registryLoginsFoss
commands:
- mkdir -p "/root/.docker" && echo $DOCKER_AUTH_CONFIG > "/root/.docker/config.json"
- export BUILD_TARGET=registry.wizewerx.tech/tools/${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
- docker build -f ./Dockerfile -t $BUILD_TARGET . && docker push $BUILD_TARGET
trigger:
branch:
- master