Difference between revisions of "GitHub Actions helm deployments"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://github.com/marketplace/actions/helm-deploy")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://github.com/marketplace/actions/helm-deploy
 
https://github.com/marketplace/actions/helm-deploy
 +
 +
# .github/workflows/deploy.yml
 +
name: Deploy
 +
[[on:]] ['deployment']
 +
 +
jobs:
 +
  deployment:
 +
    runs-on: 'ubuntu-latest'
 +
    steps:
 +
    - uses: actions/checkout@v1
 +
 +
    - name: 'Deploy'
 +
      uses: '[[deliverybot/helm@v1]]'
 +
      with:
 +
        release: 'nginx'
 +
        namespace: 'default'
 +
        chart: 'app'
 +
        token:<nowiki> '${{ github.token }}'</nowiki>
 +
        values: |
 +
          name: foobar
 +
        value-files: >-
 +
        [
 +
          "values.yaml",
 +
          "values.production.yaml"
 +
        ]
 +
      env:
 +
        [[KUBECONFIG_FILE]]:<nowiki> '${{ secrets.KUBECONFIG }}'</nowiki>
 +
 +
 +
 +
{{GitHub Actions}}

Latest revision as of 10:36, 16 February 2024

https://github.com/marketplace/actions/helm-deploy

# .github/workflows/deploy.yml
name: Deploy
on: ['deployment']

jobs:
  deployment:
    runs-on: 'ubuntu-latest'
    steps:
    - uses: actions/checkout@v1 

    - name: 'Deploy'
      uses: 'deliverybot/helm@v1'
      with:
        release: 'nginx'
        namespace: 'default'
        chart: 'app'
        token: '${{ github.token }}'
        values: |
          name: foobar
        value-files: >-
        [
          "values.yaml", 
          "values.production.yaml"
        ]
      env:
        KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'


GitHub Actions, act, .github/workflows/, ~/actions-runner/, svc.sh, deploy:, run:, runs-on:, uses:, steps:, jobs:, on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:, GITHUB_ENV, needs:, github., GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC), $GITHUB OUTPUT, notify:, Marketplace, GITHUB_TOKEN

Advertising: