main deployments
All checks were successful
Deploy / CreateImage (push) Successful in 2m55s
Deploy / DeployService (push) Successful in 19s

This commit is contained in:
skeris 2025-02-22 20:54:48 +03:00
parent 94a77d1918
commit fe313c5ef6
3 changed files with 31 additions and 1 deletions

@ -0,0 +1,23 @@
name: Deploy
run-name: ${{ gitea.actor }} build image and push to container registry
on:
push:
branches:
- 'main'
jobs:
CreateImage:
runs-on: [hubstaging]
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
with:
runner: hubstaging
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
DeployService:
runs-on: [hubprod]
needs: CreateImage
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
with:
runner: hubprod

@ -4,7 +4,6 @@ run-name: ${{ gitea.actor }} build image and push to container registry
on:
push:
branches:
- 'main'
- 'staging'
jobs:

@ -0,0 +1,8 @@
services:
templategenworker:
restart: unless-stopped
image: gitea.pena/penaside/docxtemplaterworker/main:$GITHUB_RUN_NUMBER
tty: true
environment:
MONGO_URL: mongodb://templategen:54143ffdd9304865586e5cf1@localhost:27017/?authSource=templategen
PENADISK_URL: http://localhost:8011/