25 lines
638 B
YAML
25 lines
638 B
YAML
name: Deploy
|
|
run-name: ${{ gitea.actor }} build image and push to container registry
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'staging'
|
|
|
|
jobs:
|
|
CreateImage:
|
|
runs-on: [squizstaging]
|
|
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
|
|
with:
|
|
runner: squizstaging
|
|
secrets:
|
|
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
|
DeployService:
|
|
runs-on: [squizstaging]
|
|
needs: CreateImage
|
|
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.7
|
|
with:
|
|
runner: squizstaging
|