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

This commit is contained in:
skeris 2025-02-22 20:33:49 +03:00
parent 8c6b753c03
commit e9e718cb62
3 changed files with 36 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,13 @@
services:
penadisk:
restart: unless-stopped
tty: true
image: gitea.pena/penaside/penadisk/main:$GITHUB_RUN_NUMBER
ports:
- 10.8.0.226:8011:80
environment:
YA_KEY_ID: aje4u394kp05ijl74ce3
YA_SERVICE_ACC_ID: ajelmc4tjbct675tjdh9
MINIO_ENDPOINT: storage.yandexcloud.net
MINIO_ACCESS_KEY_ID: YCAJEOcqqTHpiwL4qFwLfHPNA
MINIO_SECRET_KEY: YCNIAIat0XqdDzycWsYKX3OU7mPor6S0WmMoG4Ry