No description
  • JavaScript 100%
Find a file
2026-04-11 22:21:18 +00:00
dist removed an old console.log 2025-04-14 00:32:14 +02:00
.gitignore use lts/iron 2025-04-13 00:10:58 +02:00
.nvmrc use lts/iron 2025-04-13 00:10:58 +02:00
action.yml add author field 2026-03-03 11:34:02 +01:00
index.js removed an old console.log 2025-04-14 00:32:14 +02:00
LICENSE Create LICENSE 2025-04-14 00:23:22 +02:00
package-lock.json wip 2025-04-13 00:45:01 +02:00
package.json do not use ES module because this apparently doesn't work in github actions 2025-04-13 12:58:46 +02:00
README.md update git urls 2026-04-11 22:21:18 +00:00

trigger-update

Sends a JWT-authenticated request to AuthenticatedGlue, which will then trigger Watchtower to pull your newly pushed container images and restart your containers.

Inputs

All inputs are required.

Key Description
glueUrl The full URL where AuthenticatedGlue is accessible from.
privateKey PEM encoded private key for signing JWTs.
keyId The JWT kid value.
algorithm JWT signing algorithm. /(RS|PS|ES|HS)(256|384|512)/
images A comma-separated list of images to update.

To generate a signing key you could use a tool such as https://github.com/bspk/json-web-key-generator

Outputs

None

Example

- name: Trigger update
  uses: Foxite/trigger-update@v1.0
  with:
    keyId: sig-123456789
    algorithm: ES512
    images: ghcr.io/foxite/fridgebot
    glueUrl: https://authenticatedglue.myhomelab.net # Consider putting this in a secret.
    privateKey: ${{ secrets.GLUE_KEY }} # Should be a a value starting with -----BEGIN PRIVATE KEY-----