From aa02a3d2d8757b33affbd8900a6959c3a6262152 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Thu, 2 Sep 2021 13:16:11 +0200 Subject: [PATCH] setup compose v2 release workflow Signed-off-by: Nicolas De Loof --- .github/workflows/release.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e393a305..ff1ab3e6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}