Add contianer build pipeline

main
trivernis 6 months 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:
build:
image: node:alpine
commands:
- 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