Skip to content

Added gateway api specific yaml files #19

Added gateway api specific yaml files

Added gateway api specific yaml files #19

name: Kustomize GitHub Actions for Gateway API(nginx-gateway-fabric)
on:
pull_request:
paths:
- base-kustomize/gateway/nginx-gateway-fabric/**
- .github/workflows/kustomize-gateway-api-nginx-gateway-fabric.yaml
jobs:
kustomize:
name: Kustomize
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: azure/setup-helm@v3
with:
version: latest
token: "${{ secrets.GITHUB_TOKEN }}"
id: helm
- 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/gateway/nginx-gateway-fabric/ --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
name: kustomize-gateway-artifact
path: /tmp/rendered.yaml