name: Self-test kaniko-build # Builds a tiny image with the action in this repo, without pushing, so a broken change to # kaniko-build/ shows up here before any user's workflow picks it up. on: push: branches: [main] pull_request: workflow_dispatch: jobs: build-without-push: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build the test image (no push) uses: ./kaniko-build with: context: kaniko-build/test dockerfile: kaniko-build/test/Dockerfile push: "false" build_args: | GREETING=selftest