From 62e730d88ad3750d085f93257c5b70253f3cd5c1 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> Date: Mon, 24 Jan 2022 15:17:11 +0100 Subject: :construction_worker: Remove signing :) --- .github/workflows/docker-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 }} -- cgit v1.2.3 From f6432a4611ffc1ec4cc6592f880338b945edb2c2 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> Date: Mon, 24 Jan 2022 15:22:51 +0100 Subject: :memo: Add docker hub image --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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= -e DB_USER= \ - -e DB_PASS= -e DB_BASE= rss-watcher +$ run -it --rm -e DB_HOST= -e DB_USER= \ + -e DB_PASS= -e DB_BASE= 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 -- cgit v1.2.3