This commit is contained in:
parent
ef37e5280a
commit
673fbbd659
@ -4,17 +4,18 @@ type: docker
|
|||||||
name: Build and Release
|
name: Build and Release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: setup taskfile
|
||||||
image: golang:1.21
|
image: golang:1.21
|
||||||
commands:
|
commands:
|
||||||
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
|
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
|
||||||
|
- name: test
|
||||||
|
image: golang:1.21
|
||||||
|
commands:
|
||||||
- ./bin/task test
|
- ./bin/task test
|
||||||
- name: build & package
|
- name: build & package
|
||||||
image: golang:1.21
|
image: golang:1.21
|
||||||
commands:
|
commands:
|
||||||
- |
|
- ./bin/task package
|
||||||
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
|
|
||||||
./bin/task package
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user