feat: run kustomize action after image is created

This commit is contained in:
Alessandro Pezzè 2021-06-05 22:26:39 +02:00
parent 19126075a0
commit fbe39b62c2

View file

@ -1,17 +1,18 @@
name: Deploy Kustomize k8s cluster name: Deploy Kustomize k8s cluster
on: on:
pull_request: workflow_run:
push: workflows: ["Build and Push Docker image"]
branches: branches: [master, staging]
- 'master' types:
- 'staging' - completed
schedule: schedule:
- cron: '0 0 1 * *' - cron: '0 0 1 * *'
jobs: jobs:
create-kustomize-cluster: create-kustomize-cluster:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2