woodpecker ci
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
*.env
|
||||
*.env
|
||||
deploy/k8s/
|
||||
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Builds the LMR image and pushes it to the registry on push to master.
|
||||
when:
|
||||
- event: push
|
||||
branch: master
|
||||
|
||||
steps:
|
||||
build-and-push:
|
||||
image: woodpeckerci/plugin-docker-buildx:6
|
||||
privileged: true
|
||||
settings:
|
||||
registry: registry.govekar.net
|
||||
repo: registry.govekar.net/lovrog05/localmodelroutex
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
tags: latest,${CI_COMMIT_SHA}
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
Reference in New Issue
Block a user