-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 999 Bytes
/
deploy.yml
File metadata and controls
34 lines (29 loc) · 999 Bytes
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
name: Manual Deploy
on:
workflow_dispatch:
inputs:
image_tag:
description: 'Docker image tag to deploy'
required: true
type: string
env:
NAMESPACE: backend
jobs:
deploy:
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Deploy with Helm
uses: ./.github/actions/helm-deploy
with:
image_tag: ${{ github.event.inputs.image_tag }}
registry_repository: ${{ secrets.REGISTRY_REPOSITORY }}
kube_config_data: ${{ secrets.KUBE_CONFIG_DATA }}
helm_values_env: ${{ secrets.HELM_VALUES_ENV }}
helm_values_persistence_hostpath: ${{ secrets.HELM_VALUES_PERSISTENCE_HOSTPATH }}
helm_values_persistence_nodename: ${{ secrets.HELM_VALUES_PERSISTENCE_NODENAME }}
helm_set_files: 'configMapData.download=scripts/download.sh'
namespace: ${{ env.NAMESPACE }}
github_token: ${{ secrets.GITHUB_TOKEN }}