-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexandr Okhrimenko <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Deploy Dev | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "Select version" | ||
type: choice | ||
default: alpha | ||
options: | ||
- "alpha" | ||
- "beta" | ||
- "early-access" | ||
- "stable" | ||
- "rock-solid" | ||
|
||
tag: | ||
description: "Tag of the module, exapmle v1.21.1" | ||
type: string | ||
required: true | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
MODULES_REGISTRY: ${{ vars.REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULES_MODULE_SOURCE: ${{ vars.MODULE_SOURCE }} | ||
RELEASE_CHANNEL: ${{ github.event.inputs.version }} | ||
MODULES_MODULE_TAG: ${{ github.event.inputs.tag }} | ||
name: Build and Push images | ||
steps: | ||
- run: | | ||
echo $MODULES_REGISTRY | ||
echo $CI_COMMIT_REF_NAME | ||
echo $MODULES_MODULE_NAME | ||
echo $MODULES_MODULE_SOURCE | ||
echo $RELEASE_CHANNEL | ||
echo $MODULES_MODULE_TAG | ||
shell: bash | ||
name: Show vars | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: deckhouse/modules-actions/setup@v1 | ||
# - uses: deckhouse/modules-actions/deploy@v1 |