Skip to content

Commit

Permalink
Create deploy_dev.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Okhrimenko <[email protected]>
  • Loading branch information
dxavx authored Dec 26, 2023
1 parent 03e9f0c commit a76c853
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/deploy_dev.yml
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

0 comments on commit a76c853

Please sign in to comment.