Skip to content

Release assets

Release assets #2

Workflow file for this run

name: Release assets
on:
push:
tags:
- "*.*.*"
jobs:
assets:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Build release assets
run: make release
- name: Upload release assets
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./docker-gen-*.tar.gz"]'
- name: Cleanup release assets
run: make dist-clean