Skip to content

DOC: Update Cloud Onboarding pages #24

DOC: Update Cloud Onboarding pages

DOC: Update Cloud Onboarding pages #24

name: Kustomize GitHub Actions for k8s-dashboard
on:
pull_request:
paths:
- base-kustomize/k8s-dashboard/**
- .github/workflows/kustomize-k8s-dashboard.yaml
jobs:
kustomize:
name: Kustomize
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Kustomize Install
working-directory: /usr/local/bin/
run: |
if [ ! -f /usr/local/bin/kustomize ]; then
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | sudo bash
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/k8s-dashboard > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
name: kustomize-k8s-dashboard-artifact
path: /tmp/rendered.yaml