No description
- JavaScript 100%
| dist | ||
| .gitignore | ||
| .nvmrc | ||
| action.yml | ||
| index.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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-----