ci: get runs-on as inputs

This commit is contained in:
skeris 2024-10-31 22:32:19 +03:00
parent ea2776124c
commit c7a3d48afc
2 changed files with 10 additions and 0 deletions

@ -7,9 +7,14 @@ on:
required: true
REGISTRY_PASSWORD:
required: true
inputs:
runner:
required: true
type: string
jobs:
Build-Image:
runs-on: ["${{ inputs.runner }}"]
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"

@ -7,9 +7,14 @@ on:
required: true
REGISTRY_PASSWORD:
required: true
inputs:
runner:
required: true
type: string
jobs:
Deploy:
runs-on: ["${{ inputs.runner }}"]
container:
image: gitea.pena:3000/penadevops/container-images/node-compose:main
volumes: