Skip to content

Commit

Permalink
Merge pull request #3 from DirectXMan12/feature/prebuilt-image-for-ac…
Browse files Browse the repository at this point in the history
…tion

🌱 Use pre-built image for action
  • Loading branch information
k8s-ci-robot authored Oct 1, 2020
2 parents aec1539 + 1d9d3d3 commit 4777888
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
uses: actions/checkout@v2
- name: Verifier action
id: verifier
uses: ./
uses: ./action-nightly
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
9 changes: 9 additions & 0 deletions action-nightly/action.yml
Original file line number Diff line number Diff line change
@@ -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'
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 4777888

Please sign in to comment.