Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Use the Kubeflow DockerHub organization for the GitHub action for issue_triage #67

Merged
merged 3 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
echo ${PASSWORD} | docker login -u $USERNAME --password-stdin
docker build -t hamelsmu/kubeflow-triage -f Issue_Triage/Dockerfile .
docker push hamelsmu/kubeflow-triage
docker build -t kubeflow/kubeflow-triage -f Issue_Triage/Dockerfile .
docker push kubeflow/kubeflow-triage
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
hamelsmu marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions Issue_Triage/action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,18 @@ jobs:
2. **ISSUE_NUMBER**: The issue number in the current repo that you want to triage
3. **GITHUB_PERSONAL_ACCESS_TOKEN**: A personal access token with authorization to modify the project board.

### Installing the action on a repository

1. Create a workflow like the one above in your repository in the directory

```
.github/workflows/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.github/workflows/
.github/workflows/<your_file_name>.yaml

```

1. Create a secret for the repository called `triage_projects_github_token` which has a GitHub personal access token with the following permissions
jlewi marked this conversation as resolved.
Show resolved Hide resolved

* admin:org read & write
* Needed to modify projects

* repo:public_repo
* needed to see issues
2 changes: 1 addition & 1 deletion Issue_Triage/action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ branding:
icon: 'check-square'
runs:
using: 'docker'
image: 'docker://hamelsmu/kubeflow-triage'
image: 'docker://kubeflow/kubeflow-triage'