Просмотр исходного кода

setup compose v2 release workflow

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 4 лет назад
Родитель
Сommit
aa02a3d2d8
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      .github/workflows/release.yaml

+ 8 - 4
.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 }}