This commit is contained in:
parent
cb6be617db
commit
8b4fcf8594
16
.drone.yml
16
.drone.yml
@ -5,24 +5,26 @@ steps:
|
|||||||
- name: docker-base
|
- name: docker-base
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: registry.wtf-eg.net
|
registry: registry.wtf-eg.net
|
||||||
target: ki-backend-base
|
repo: registry.wtf-eg.net/ki
|
||||||
|
target: backend-base
|
||||||
autotag: true
|
autotag: true
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: "docker_username"
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: "docker_password"
|
||||||
|
|
||||||
- name: docker-builder
|
- name: docker-builder
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
registry: registry.wtf-eg.net
|
||||||
repo: registry.wtf-eg.net
|
repo: registry.wtf-eg.net
|
||||||
target: ki-backend-builder
|
target: backend-builder
|
||||||
autotag: true
|
autotag: true
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: "docker_username"
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: "docker_password"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
FROM python:3.8-alpine as ki-backend-base
|
FROM python:3.8-alpine as backend-base
|
||||||
|
|
||||||
ENV PYROOT /pyroot
|
ENV PYROOT /pyroot
|
||||||
ENV PYTHONUSERBASE $PYROOT
|
ENV PYTHONUSERBASE $PYROOT
|
||||||
|
|
||||||
|
|
||||||
FROM base as ki-backend-builder
|
FROM backend-base as backend-builder
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
gcc \
|
gcc \
|
||||||
|
Reference in New Issue
Block a user