6 Commits

Author SHA1 Message Date
cc8c306f3c prepare release v0.1.6
All checks were successful
Create Release / build (push) Successful in 28s
2023-10-05 20:55:29 +02:00
1c92f63ab1 ignore specific tags 2023-10-05 20:55:06 +02:00
c2a6a8fbe2 prepare release v0.1.5
All checks were successful
Create Release / build (push) Successful in 38s
2023-10-05 20:49:21 +02:00
026dc9d765 fix vault path 2023-10-05 20:49:07 +02:00
10bfe83870 prepare release v0.1.4
Some checks failed
Create Release / build (push) Failing after 20s
2023-10-05 20:48:16 +02:00
9fa34eb854 fix order of actions 2023-10-05 20:48:01 +02:00
3 changed files with 21 additions and 6 deletions

View File

@@ -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 ./...

View File

@@ -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

View File

@@ -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)
} }