diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-01-24 16:24:00 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-01-24 16:24:00 +0100 |
commit | 53b0e871e21469f97d57eebc475e50aca35037aa (patch) | |
tree | bc0bb39b3505dc89a977f83dc2b19a9e6fd1dcba | |
parent | 3a023446c53b3688003183aabd723945cbd4423d (diff) | |
parent | f6432a4611ffc1ec4cc6592f880338b945edb2c2 (diff) | |
download | RSS-watcher-53b0e871e21469f97d57eebc475e50aca35037aa.tar.gz RSS-watcher-53b0e871e21469f97d57eebc475e50aca35037aa.zip |
Merge branch 'master' of github.com:JakobST1n/RSS-watcher
-rw-r--r-- | .github/workflows/docker-publish.yml | 14 | ||||
-rw-r--r-- | Readme.md | 6 |
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 }} @@ -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 |