ci: get runs-on as inputs
This commit is contained in:
parent
ea2776124c
commit
c7a3d48afc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user