Skip to content

Commit aee95dc

Browse files
committed
build: gh actions - release as draft
1 parent eb4da6a commit aee95dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: docker
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v*.*.*"
77
workflow_dispatch:
88

99
jobs:

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: publish
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v*.*.*"
77
workflow_dispatch:
88

99
permissions:
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v5
3535
with:
36-
go-version: "stable"
36+
go-version-file: "go.mod"
3737

3838
- name: Build binary
3939
run: GOOS=${{ matrix.goos }} make build
@@ -85,3 +85,4 @@ jobs:
8585
file: release/*
8686
file_glob: true
8787
tag: ${{ github.ref }}
88+
draft: true

0 commit comments

Comments
 (0)