Compare commits
2 Commits
5552dda0df
...
fb3ffccad8
Author | SHA1 | Date | |
---|---|---|---|
fb3ffccad8 | |||
4f2c65b69f |
@ -47,7 +47,6 @@ pipeline:
|
|||||||
ocram85/blog:latest
|
ocram85/blog:latest
|
||||||
- |
|
- |
|
||||||
trivy image \
|
trivy image \
|
||||||
--exit-code 1 \
|
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
ocram85/blog:latest
|
ocram85/blog:latest
|
@ -3,15 +3,11 @@ depends_on:
|
|||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
buildNext:
|
buildNext:
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
#dry_run: true
|
|
||||||
repo: ocram85/blog
|
repo: ocram85/blog
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tags: next
|
tags: next
|
||||||
build_args:
|
|
||||||
- NODE_BASE=lts-buster-slim
|
|
||||||
- NGINX_BASE=1.23.1-alpine
|
|
||||||
username:
|
username:
|
||||||
from_secret: hub_user
|
from_secret: hub_user
|
||||||
password:
|
password:
|
||||||
@ -20,16 +16,12 @@ pipeline:
|
|||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
||||||
buildNextGitea:
|
buildNextGitea:
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
#dry_run: true
|
|
||||||
registry: gitea.ocram85.com
|
registry: gitea.ocram85.com
|
||||||
repo: gitea.ocram85.com/ocram85/blog
|
repo: gitea.ocram85.com/ocram85/blog
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tags: next
|
tags: next
|
||||||
build_args:
|
|
||||||
- NODE_BASE=lts-buster-slim
|
|
||||||
- NGINX_BASE=1.23.1-alpine
|
|
||||||
username:
|
username:
|
||||||
from_secret: gitea_user
|
from_secret: gitea_user
|
||||||
password:
|
password:
|
||||||
@ -47,7 +39,6 @@ pipeline:
|
|||||||
ocram85/blog:next
|
ocram85/blog:next
|
||||||
- |
|
- |
|
||||||
trivy image \
|
trivy image \
|
||||||
--exit-code 1 \
|
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
ocram85/blog:next
|
ocram85/blog:next
|
@ -1,12 +1,12 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
DockerBaseImage:
|
DockerBaseImage:
|
||||||
image: renovate/renovate:34.22-slim
|
image: renovate/renovate:34.40-slim
|
||||||
commands:
|
commands:
|
||||||
- "renovate"
|
- "renovate"
|
||||||
secrets:
|
secrets:
|
||||||
- RENOVATE_TOKEN
|
- RENOVATE_TOKEN
|
||||||
environment:
|
environment:
|
||||||
#LOG_LEVEL: debug
|
LOG_LEVEL: debug
|
||||||
RENOVATE_PLATFORM: "gitea"
|
RENOVATE_PLATFORM: "gitea"
|
||||||
RENOVATE_ENDPOINT: "https://gitea.ocram85.com"
|
RENOVATE_ENDPOINT: "https://gitea.ocram85.com"
|
||||||
RENOVATE_REPOSITORIES: "${CI_REPO}"
|
RENOVATE_REPOSITORIES: "${CI_REPO}"
|
@ -1,8 +1,4 @@
|
|||||||
# Build ARGS for base image versions
|
FROM node:lts-buster-slim as builder
|
||||||
ARG NODE_BASE=lts-buster-slim
|
|
||||||
ARG NGINX_BASE=1.23.2-alpine
|
|
||||||
|
|
||||||
FROM node:${NODE_BASE} as builder
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
#RUN ls -la
|
#RUN ls -la
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
@ -10,7 +6,7 @@ WORKDIR /src
|
|||||||
RUN npm install \
|
RUN npm install \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
|
||||||
FROM nginx:${NGINX_BASE} as prod
|
FROM nginx:1.23.2-alpine as prod
|
||||||
LABEL maintainer="marco.blessing@googlemail.com"
|
LABEL maintainer="marco.blessing@googlemail.com"
|
||||||
HEALTHCHECK --interval=15s --timeout=5s \
|
HEALTHCHECK --interval=15s --timeout=5s \
|
||||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"onboardingConfig": {
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
"docker": {
|
"docker": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
Loading…
Reference in New Issue
Block a user