diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d140e6f..deef118 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,6 @@ jobs: uses: actions/checkout@v2 - name: Verifier action id: verifier - uses: ./ + uses: ./action-nightly with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/action-nightly/action.yml b/action-nightly/action.yml new file mode 100644 index 0000000..77cd889 --- /dev/null +++ b/action-nightly/action.yml @@ -0,0 +1,9 @@ +name: 'Verify KubeBuilder PRs' +description: 'Verify PRs for the KubeBuilder project repos & similar' +inputs: + github_token: + description: "the github_token provided by the actions runner" + required: true +runs: + using: docker + image: '../Dockerfile' diff --git a/action.yml b/action.yml index a89ca0a..063de1a 100644 --- a/action.yml +++ b/action.yml @@ -6,4 +6,7 @@ inputs: required: true runs: using: docker - image: 'Dockerfile' + # this is built using GCB by building the Dockerfile in this directory on + # every tagged release. After tagging a release, a new version should + # automatically appear. + image: 'docker://gcr.io/kubebuilder/pr-verifier:v0.1.1'