-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.08 KB
/
deploy_dev.yml
File metadata and controls
39 lines (35 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Deploy Dev
on:
workflow_dispatch:
inputs:
release_channel:
description: "Select the release channel"
type: choice
default: alpha
options:
- "alpha"
- "beta"
- "early-access"
- "stable"
- "rock-solid"
tag:
description: "Tag of the module, e.g., v1.21.1"
type: string
required: true
jobs:
deploy:
runs-on: [self-hosted, large]
name: Deploy the module
steps:
- uses: actions/checkout@v4
- uses: deckhouse/modules-actions/setup@main
with:
registry: ${{ vars.DEV_REGISTRY }}
registry_login: ${{ vars.DEV_MODULES_REGISTRY_LOGIN }}
registry_password: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }}
- uses: deckhouse/modules-actions/deploy@main
with:
module_source: dev-registry.deckhouse.io/sys/deckhouse-oss/modules
module_name: ${{ vars.MODULES_MODULE_NAME }}
module_tag: ${{ github.event.inputs.tag }}
release_channel: ${{ github.event.inputs.release_channel }}