Skip to content

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 (#131) #271

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 (#131)

Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 (#131) #271

Workflow file for this run

name: docker-images
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:
jobs:
build-docker:
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- uses: actions/checkout@v4
- run: make docker
- name: Run Trivy vulnerability scanner (table output)
uses: aquasecurity/trivy-action@master
with:
image-ref: grafana/smtprelay
format: table
exit-code: 1
ignore-unfixed: true
vuln-type: os,library
severity: CRITICAL,HIGH
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: grafana/smtprelay
format: sarif
output: trivy-results.sarif
ignore-unfixed: true
vuln-type: os,library
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
if: always() && github.repository == 'grafana/smtprelay'
- name: Log in to Docker Hub (on tags only)
if: startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push images to Docker Hub (on tags only)
if: startsWith(github.ref, 'refs/tags/v')
run: make docker-push