Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
cc8c306f3c
|
|||
|
1c92f63ab1
|
|||
|
c2a6a8fbe2
|
|||
|
026dc9d765
|
|||
|
10bfe83870
|
|||
|
9fa34eb854
|
@@ -4,6 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
tags-ignore:
|
||||||
|
- v0
|
||||||
|
- v1
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -12,6 +15,11 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
check-latest: true
|
||||||
|
|
||||||
- name: Import Secrets
|
- name: Import Secrets
|
||||||
id: import-secrets
|
id: import-secrets
|
||||||
uses: https://git.mthie.com/mthie/vault-action@v0
|
uses: https://git.mthie.com/mthie/vault-action@v0
|
||||||
@@ -41,11 +49,6 @@ jobs:
|
|||||||
ssh-keyscan -t rsa git.mthie.com >> ~/.ssh/known_hosts
|
ssh-keyscan -t rsa git.mthie.com >> ~/.ssh/known_hosts
|
||||||
chmod 400 ~/.ssh/id_ecdsa ~/.ssh/config
|
chmod 400 ~/.ssh/id_ecdsa ~/.ssh/config
|
||||||
|
|
||||||
- uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: '1.21'
|
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
go get ./...
|
go get ./...
|
||||||
|
|||||||
12
History.md
12
History.md
@@ -1,3 +1,15 @@
|
|||||||
|
# 0.1.6 / 2023-10-05
|
||||||
|
|
||||||
|
* ignore specific tags
|
||||||
|
|
||||||
|
# 0.1.5 / 2023-10-05
|
||||||
|
|
||||||
|
* fix vault path
|
||||||
|
|
||||||
|
# 0.1.4 / 2023-10-05
|
||||||
|
|
||||||
|
* fix order of actions
|
||||||
|
|
||||||
# 0.1.3 / 2023-10-05
|
# 0.1.3 / 2023-10-05
|
||||||
|
|
||||||
* download binary
|
* download binary
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ func main() {
|
|||||||
out.Close()
|
out.Close()
|
||||||
resp.Body.Close()
|
resp.Body.Close()
|
||||||
|
|
||||||
cmd := exec.Command("vault")
|
cmd := exec.Command("./vault")
|
||||||
if err := cmd.Run(); err != nil {
|
if err := cmd.Run(); err != nil {
|
||||||
log.Panicf("error executing: %s", err)
|
log.Panicf("error executing: %s", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user