Skip to content

feature: Restrict Kubechecks to a Single Namespace for App Watcher #505

feature: Restrict Kubechecks to a Single Namespace for App Watcher

feature: Restrict Kubechecks to a Single Namespace for App Watcher #505

name: pr_build
on:
pull_request:
paths:
- '*'
- '*/**'
- '!README.md'
- '!COPYING.LGPL-3'
- '!.gitattributes'
- '!.gitignore'
types:
- opened
- reopened
- synchronize
env:
FS_TAG: 0.0.0-pr${{ github.event.pull_request.number }}-${{ github.sha }}
jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build-image
id: build-image
with:
image_tag: ${{ env.FS_TAG }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: mshick/add-pr-comment@v2
with:
message: |
Temporary image available at `${{ steps.build-image.outputs.image }}`.