Skip to content

release

release #177

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
test:
uses: ./.github/workflows/test.yml
lint:
uses: ./.github/workflows/golangci-lint.yml
release:
needs: [test, lint]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set variables
run: |
VER=$(cat .VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Publish the Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}