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