aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/docker-publish.yml14
-rw-r--r--Readme.md6
2 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 3b8884c..220b1f7 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -84,10 +84,10 @@ jobs:
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- - name: Sign the published Docker image
- if: ${{ github.event_name != 'pull_request' }}
- env:
- COSIGN_EXPERIMENTAL: "true"
- # This step uses the identity token to provision an ephemeral certificate
- # against the sigstore community Fulcio instance.
- run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
+ #- name: Sign the published Docker image
+ # if: ${{ github.event_name != 'pull_request' }}
+ # env:
+ # COSIGN_EXPERIMENTAL: "true"
+ # # This step uses the identity token to provision an ephemeral certificate
+ # # against the sigstore community Fulcio instance.
+ # run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
diff --git a/Readme.md b/Readme.md
index 691963c..b7a7561 100644
--- a/Readme.md
+++ b/Readme.md
@@ -5,9 +5,8 @@ and pushes those to Gotify.
## Usage
This can be run using docker or locally, to run with docker you can
```
-$ docker build -t rss-watcher .
-$ docker run -it --rm -e DB_HOST=<database host> -e DB_USER=<database user> \
- -e DB_PASS=<database password> -e DB_BASE=<database name> rss-watcher
+$ run -it --rm -e DB_HOST=<database host> -e DB_USER=<database user> \
+ -e DB_PASS=<database password> -e DB_BASE=<database name> jakobst1n/rss-watcher
```
To run locally you need to set all those environment variables, and then
you can run it with
@@ -33,4 +32,5 @@ will poll for new changes (in ms).
## Todo
- Extract more RSS fields.
- Deal with multiple links.
+- Add error handling for database connection, currently the process exits (which is why you might want to use `--restart=unless-stopped`
- Add proper error handling for gotify failures