Skip to content

Commit

Permalink
Merge branch 'master' of github.com:vaughnw128/eternalpose
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughnw128 committed Jul 7, 2024
2 parents ae3bdbd + d19d989 commit 4846088
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/vaughnw128/eternalpose
tags: |
type=sha
- name: Checkout code
uses: actions/checkout@v3

- name: Get next version
uses: reecetech/version-increment@2024.4.3
id: version
with:
scheme: semver
increment: patch

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -35,9 +37,7 @@ jobs:
context: .
file: Dockerfile
push: ${{ github.ref == 'refs/heads/master' }}
cache-from: type=registry,ref=ghcr.io/vaughnw128/eternalpose:${{ steps.version.outputs.version }}
cache-to: type=inline
tags: |
ghcr.io/vaughnw128/eternalpose:${{ steps.version.outputs.version }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
git_sha=${{ github.sha }}
git_sha=${{ github.sha }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ $ docker run -dit -e WEBHOOK_URL="https://discord.com/api/webhooks/123/456" --na

## Deploying to Kubernetes

Details on the deployment to kubernetes can be found at [vaughnw128/k8s-infra](https://github.com/vaughnw128/k8s-infra)

First, the discord webhook needs to be initialized as a secret:

```shell
Expand All @@ -83,4 +85,4 @@ Once the secret has been created, the application can be deployed:

```shell
$ kubectl apply -f eternalpose.yml
```
```

0 comments on commit 4846088

Please sign in to comment.