Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/publish-postgrest-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,6 @@ jobs:
tags: |
type=raw,value=${{ steps.release.outputs.version }}
type=raw,value=latest,enable=${{ steps.release.outputs.channel == 'release' }}
- name: Build image for vulnerability scan
uses: docker/build-push-action@v6
with:
context: ./postgrest-tandem/image
file: ./postgrest-tandem/image/Containerfile
push: false
load: true
tags: ${{ steps.vars.outputs.image }}:${{ steps.release.outputs.version }}
build-args: |
IMAGE_VERSION=${{ steps.release.outputs.version }}
VCS_REF=${{ github.sha }}
SOURCE_URL=${{ github.server_url }}/${{ github.repository }}
POSTGRES_BASE_TAG=16
- name: Scan image with Trivy
uses: aquasecurity/trivy-action@v0.36.0
with:
image-ref: ${{ steps.vars.outputs.image }}:${{ steps.release.outputs.version }}
format: table
exit-code: '1'
severity: CRITICAL,HIGH
ignore-unfixed: true
- name: Build and push image
uses: docker/build-push-action@v6
with:
Expand Down