24 lines
664 B
YAML
24 lines
664 B
YAML
name: Deploy
|
|
run-name: ${{ gitea.actor }} build image and push to container registry
|
|
|
|
on:
|
|
registry_package:
|
|
types: [published]
|
|
|
|
jobs:
|
|
# CreateImage:
|
|
# runs-on: [skeris]
|
|
# uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
|
|
# with:
|
|
# runner: skeris
|
|
# secrets:
|
|
# REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
|
# REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
|
DeployService:
|
|
runs-on: [frontprod]
|
|
# needs: CreateImage
|
|
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
|
|
with:
|
|
runner: hubprod
|
|
actionid: ${{ gitea.run_id }}
|