1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 18:38:40 +00:00

Update hash of dependencies instead of mutable version (#3582)

Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
This commit is contained in:
Shubham Gupta 2022-04-12 14:52:38 +05:30 committed by GitHub
parent 10cf0f2344
commit f70cd4222f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -133,7 +133,7 @@ jobs:
make docker-build-kyverno
- name: Trivy Scan Image
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@40c4ca9e7421287d0c5576712fdff370978f9c3c
with:
scan-type: 'fs'
ignore-unfixed: true

View file

@ -64,7 +64,7 @@ jobs:
${{ runner.os }}-go-
- name: Log into ghcr.io
uses: docker/login-action@master
uses: docker/login-action@7c79b598eaa33458e78e8d0d71e0a9c217dd92af
with:
registry: ghcr.io
username: ${{secrets.registry_username}}
@ -81,7 +81,7 @@ jobs:
- name: Run Trivy vulnerability scanner in repo mode
if: ${{inputs.tag == 'release'}}
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@40c4ca9e7421287d0c5576712fdff370978f9c3c
with:
scan-type: 'fs'
ignore-unfixed: true

View file

@ -1,6 +1,6 @@
# Multi-stage docker build
# Build stage
FROM golang:1.17.6 AS builder
FROM golang@sha256:ec67c62f48ddfbca1ccaef18f9b3addccd707e1885fa28702a3954340786fcf6 AS builder
LABEL maintainer="Kyverno"

View file

@ -1,6 +1,6 @@
# Multi-stage docker build
# Build stage
FROM golang:1.17.6 AS builder
FROM golang@sha256:ec67c62f48ddfbca1ccaef18f9b3addccd707e1885fa28702a3954340786fcf6 AS builder
LABEL maintainer="Kyverno"

View file

@ -1,6 +1,6 @@
# Multi-stage docker build
# Build stage
FROM golang:1.17.6 AS builder
FROM golang@sha256:ec67c62f48ddfbca1ccaef18f9b3addccd707e1885fa28702a3954340786fcf6 AS builder
LABEL maintainer="Kyverno"