Updating GitHub Action to generate Docker image. Added rules for Diffbot, ai21, baseten. Fixed supabase rule. Added 'alg' to JWT validation output

This commit is contained in:
Mick Grove 2025-07-18 15:26:18 -07:00
commit 8b2c79e70f
8 changed files with 140 additions and 8 deletions

View file

@ -1,8 +1,8 @@
# .github/workflows/release-docker.yml
name: Publish Docker image
on:
push:
tags: ["v*.*.*"] # every semantic-version tag
release:
types: [published]
permissions:
contents: read
packages: write
@ -18,7 +18,13 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare release tag
id: tag
run: |
TAG=${RELEASE_TAG#v}
echo "tag=$TAG" >>"$GITHUB_OUTPUT"
env:
RELEASE_TAG: ${{ github.event.release.tag_name }}
- uses: docker/build-push-action@v5
with:
context: .
@ -27,4 +33,4 @@ jobs:
push: true
tags: |
ghcr.io/mongodb/kingfisher:latest
ghcr.io/mongodb/kingfisher:${{ github.ref_name }}
ghcr.io/mongodb/kingfisher:${{ steps.tag.outputs.tag }}