From 398905994b41c9b2c6e8fcaffd68fbd9530acac6 Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:09:21 +0300 Subject: [PATCH] Add latest on tag (#276) * Add latest on tag * Empty * Fix * Fix lint --- .github/workflows/docker.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 142b807b..d2218009 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -1,6 +1,6 @@ name: Docker -on: [ push ] +on: [push] jobs: docker: @@ -16,7 +16,7 @@ jobs: images: | europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator flavor: | - latest=false + latest=auto tags: | type=ref,event=branch type=ref,event=tag @@ -50,9 +50,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