This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Update container image docker.io/bitnami/nginx-ingress-controller to … #5300
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
name: Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[no-deploy]')" | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: jmmaloney4/gomplate-action@main | |
with: | |
file: './cluster/gen/template.tmpl' | |
out: './cluster/gen/gen.yaml' | |
context: 'context=./cluster/gen/context.yaml' | |
- name: Commit files | |
run: | | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add -A | |
git commit -m "deploy before squash" | |
git reset $(git commit-tree HEAD^{tree} -m "Deploy ${{ github.ref }}@${{ github.sha }}") | |
- uses: ad-m/github-push-action@master | |
with: | |
branch: deploy | |
force: true |