Skip to content

Commit

Permalink
🚀 Use Github Container Registry (#7)
Browse files Browse the repository at this point in the history
* feature: detect new pod crashes

* fix: update config.yaml

* fixes alert for ContainerCreating and Completed

* fix welcome message

* 🚀 use github container registry

* update README.md
  • Loading branch information
abahmed authored Dec 14, 2021
1 parent c195691 commit c5054e0
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 83 deletions.
17 changes: 0 additions & 17 deletions .github/auto_assign.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/dependabot.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/issue_label_bot.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/pr_labels.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/release-drafter.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/stale.yaml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2

- name: Log in to Docker Hub
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: abahmed1/kwatch
images: ghcr.io/abahmed/kwatch

- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

You need to get config template to add your configs
```shell
curl -L https://raw.githubusercontent.com/abahmed/kwatch/main/deploy/config.yaml -o config.yaml
curl -L https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/config.yaml -o config.yaml
```

Then edit `config.yaml` file and apply your configuration
Expand All @@ -46,7 +46,7 @@ kubectl apply -f config.yaml
To deploy **kwatch**, execute following command:

```shell
kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/main/deploy/deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/deploy.yaml
```

### Configuration
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
serviceAccountName: kwatch
containers:
- name: kwatch
image: abahmed1/kwatch:latest
image: ghcr.io/abahmed/kwatch:v0.0.4
imagePullPolicy: Always
volumeMounts:
- name: config-volume
Expand Down

0 comments on commit c5054e0

Please sign in to comment.