Add contianer build pipeline

main
trivernis 1 year ago
parent 772e1c5ca2
commit 05b982a1bd
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,6 +1,14 @@
version: 1
when:
- event: [pull_request]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- release/*
- fix/*
steps: steps:
build: build:
image: node:alpine image: node:alpine
commands: commands:
- npm ci - npm ci
- npm run build - npm run build

@ -0,0 +1,18 @@
version: 1
when:
- event: [tag]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
build:
image: plugins/docker-buildx
settings:
dockerfile: Containerfile
tag: ${CI_COMMIT_TAG##v}
repo: git.trivernis.net/trivernis/plantwiki
registry: git.trivernis.net
platforms: linux/amd64,linux/arm64/v8
username: woodpeckerbot
password:
from_secret: fogejo_token
Loading…
Cancel
Save