Skip to content

Commit

Permalink
Add latest on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Jan 23, 2024
1 parent 3fe893c commit 6788ddb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Docker

on: [ push ]
on: [push]

jobs:
docker:
Expand All @@ -21,6 +21,7 @@ jobs:
type=ref,event=branch
type=ref,event=tag
type=sha
type=raw,value=latest,event=tag
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GAR
Expand Down Expand Up @@ -50,9 +51,9 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:sha-${{ steps.commit-hash.outputs.short }}'
format: 'table'
exit-code: '1'
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
image-ref: "europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:sha-${{ steps.commit-hash.outputs.short }}"
format: "table"
exit-code: "1"
vuln-type: "os,library"
severity: "CRITICAL,HIGH"
ignore-unfixed: true

0 comments on commit 6788ddb

Please sign in to comment.