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