Skip to content

Pin actions and Renovate configs #81

Pin actions and Renovate configs

Pin actions and Renovate configs #81

Workflow file for this run

name: release
on:
push:
tags:
- v*
pull_request:
paths:
- config/**
- .github/workflows/release.yaml
jobs:
manifest:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: kustomize edit set image controller='ghcr.io/${{ github.repository }}:${{ github.ref_name }}'
working-directory: config/manager
- run: kustomize build config/default > /tmp/ktunnels.yaml
- run: cat /tmp/ktunnels.yaml
- if: github.ref_type == 'tag'
run: gh release upload '${{ github.ref_name }}' /tmp/ktunnels.yaml --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}