first commit

This commit is contained in:
Kurt Ferreira
2026-04-11 13:57:02 +02:00
commit db5ca09c1b
5 changed files with 189 additions and 0 deletions

25
.woodpecker.yml Normal file
View File

@@ -0,0 +1,25 @@
steps:
- name: build-and-push
image: woodpeckerci/plugin-docker-buildx
settings:
repo: "registry.af-east-1.dc.koldsoftware.com/${CI_REPO_OWNER}/nodejs-app"
registry: "registry.af-east-1.dc.koldsoftware.com"
tags:
- "${CI_COMMIT_SHA:0:8}"
- latest
username:
from_secret: registry_username
password:
from_secret: registry_password
- name: deploy
image: hashicorp/nomad:latest
commands:
- nomad job run
-var="version=${CI_COMMIT_SHA:0:8}"
-var="domain=af-east-1.dc.koldsoftware.com"
job.hcl
environment:
NOMAD_ADDR: "http://192.168.2.106:4646"
when:
branch: main