Revert "Switched normal images to chached registry"
continuous-integration/drone/push Build was killed Details

This reverts commit cba4455d53.
This commit is contained in:
Nicolai Ort 2021-03-12 20:20:46 +01:00
parent 641e2aed52
commit ca6fa633a1
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ clone:
disable: true
steps:
- name: checkout pr
image: registry.odit.services/hub/alpine/git
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL .
- git checkout $DRONE_SOURCE_BRANCH
@ -67,7 +67,7 @@ steps:
registry: registry.odit.services
- name: run changelog export
depends_on: ["clone"]
image: registry.odit.services/hub/library/node:latest
image: node:latest
commands:
- npx auto-changelog --commit-limit false -p -u --hide-credit
- name: push new changelog to repo
@ -83,7 +83,7 @@ steps:
from_secret: git_ssh
- name: run full license export
depends_on: ["clone"]
image: registry.odit.services/hub/library/node:14.15.1-alpine3.12
image: node:14.15.1-alpine3.12
commands:
- yarn
- yarn licenses:export
@ -116,7 +116,7 @@ clone:
steps:
- name: clone
image: registry.odit.services/hub/alpine/git
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL .
- git checkout dev

View File

@ -1,5 +1,5 @@
# Typescript Build
FROM registry.odit.services/hub/library/node:14.15.1-alpine3.12
FROM node:14.15.1-alpine3.12
WORKDIR /app
COPY package.json ./
RUN npm i -g pnpm
@ -8,7 +8,7 @@ COPY tsconfig.json ormconfig.js ./
COPY src ./src
RUN pnpm run build
# final image
FROM registry.odit.services/hub/library/node:14.15.1-alpine3.12
FROM node:14.15.1-alpine3.12
COPY package.json ormconfig.js ./
RUN npm i -g pnpm
RUN pnpm i --prod