mirror of https://github.com/docker/compose.git
setup compose v2 release workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
5b30accf35
commit
aa02a3d2d8
|
@ -1,9 +1,12 @@
|
||||||
name: Releaser
|
name: Releaser
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
tags:
|
inputs:
|
||||||
- "v2*"
|
tag:
|
||||||
|
description: 'Release Tag'
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload-release:
|
upload-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -30,7 +33,7 @@ jobs:
|
||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make -f builder.Makefile cross-compose-plugin
|
run: make -f builder.Makefile cross
|
||||||
|
|
||||||
- name: License
|
- name: License
|
||||||
run: cp packaging/* bin/
|
run: cp packaging/* bin/
|
||||||
|
@ -40,3 +43,4 @@ jobs:
|
||||||
artifacts: "bin/*"
|
artifacts: "bin/*"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tag: ${{ github.event.inputs.tag }}
|
||||||
|
|
Loading…
Reference in New Issue