update build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jeffrey C. Ollie 2024-05-27 13:07:48 -05:00
parent 740c09ce6d
commit acd8a0e93e
Signed by: jeff
GPG key ID: 6F86035A6D97044E
2 changed files with 32 additions and 2 deletions

30
.drone.yml Normal file
View file

@ -0,0 +1,30 @@
---
kind: secret
name: local_username
get:
path: local
name: username
---
kind: secret
name: local_password
get:
path: local
name: password
---
kind: pipeline
type: kubernetes
name: build
steps:
- name: kaniko
image: docker.io/plugins/kaniko:latest
pull: always
settings:
repository: r.ocj.io/gis/umap
registry: r.ocj.io
tags:
- "latest"
- "umap-${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:8}"
username:
from_secret: local_username
password:
from_secret: local_password

View file

@ -1,4 +1,4 @@
FROM node:alpine AS vendors FROM dockert.io/library/node:alpine AS vendors
RUN apk add git RUN apk add git
@ -13,7 +13,7 @@ COPY . .
RUN npm run vendors RUN npm run vendors
# This part installs deps needed at runtime. # This part installs deps needed at runtime.
FROM python:3.11-slim as common FROM docker.io/library/python:3.11-slim as common
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \