Skip to content

Commit

Permalink
bin release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
o-fl0w committed Nov 21, 2023
1 parent 8df6d28 commit 67b0268
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Docker image
name: Publish Builds

on:
workflow_dispatch:
Expand All @@ -13,9 +13,8 @@ jobs:
name: Push to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand Down
19 changes: 19 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
project_name: example
builds:
- main: ../../cmd/stash-vr
ldflags:
- -X stash-vr/internal/build.Version={{.Version}} -X stash-vr/internal/build.SHA={{.Commit}}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip

0 comments on commit 67b0268

Please sign in to comment.