Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

chore: bump trivy 0.50.4 (#468) #52

chore: bump trivy 0.50.4 (#468)

chore: bump trivy 0.50.4 (#468) #52

Workflow file for this run

---
name: Release
on:
push:
tags:
- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup make
run: make setup
- name: Run linter
run: make lint
- name: Run unit tests
run: make test
- name: Run integration tests
run: make test-integration
- name: Run component tests
run: make test-component
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to ECR
uses: docker/login-action@v3
with:
registry: public.ecr.aws
username: ${{ secrets.ECR_ACCESS_KEY_ID }}
password: ${{ secrets.ECR_SECRET_ACCESS_KEY }}
- name: Release
uses: goreleaser/goreleaser-action@v5
with:
version: v1.9.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}