v0.1 version: added ci, container, nginx + base apigw config

This commit is contained in:
PB
2022-10-06 17:41:43 +02:00
parent 70687169f1
commit b0505bb041
12 changed files with 224 additions and 1 deletions

36
.drone.yml Normal file
View File

@@ -0,0 +1,36 @@
kind: pipeline
type: docker
name: default
steps:
- name: publish_image
image: plugins/docker
environment:
DOCKER_USERNAME:
from_secret: registry_username
DOCKER_PASSWORD:
from_secret: registry_password
commands:
- sleep 5
- ./deploy/image-build.sh
- ./deploy/image-push.sh
volumes:
- name: docker-sock
path: /var/run
when:
branch:
- master
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: docker-sock
path: /var/run
volumes:
- name: gopath
temp: {}
- name: docker-sock
temp: {}