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

release: prepare v0.30.18 (#395) #42

release: prepare v0.30.18 (#395)

release: prepare v0.30.18 (#395) #42

Workflow file for this run

---
name: Release
on:
push:
tags:
- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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 }}