forked from mirrors/kingfisher
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:
parent
a2a8876567
commit
8b2c79e70f
8 changed files with 140 additions and 8 deletions
14
.github/workflows/release-docker.yml
vendored
14
.github/workflows/release-docker.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue