setup compose v2 release workflow

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-09-02 13:16:11 +02:00
parent 5b30accf35
commit aa02a3d2d8
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,12 @@
name: Releaser
on:
push:
tags:
- "v2*"
workflow_dispatch:
inputs:
tag:
description: 'Release Tag'
required: true
jobs:
upload-release:
runs-on: ubuntu-latest
@ -30,7 +33,7 @@ jobs:
${{ runner.os }}-go-
- name: Build
run: make -f builder.Makefile cross-compose-plugin
run: make -f builder.Makefile cross
- name: License
run: cp packaging/* bin/
@ -40,3 +43,4 @@ jobs:
artifacts: "bin/*"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.tag }}