mirror of
https://github.com/netauth/ldap.git
synced 2024-11-24 12:31:55 -06:00
Add more advanced release workflow
This commit is contained in:
parent
9415810db1
commit
c02929e9e3
22
.github/workflows/docker.yml
vendored
22
.github/workflows/docker.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: docker
|
name: release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -6,7 +6,25 @@ on:
|
||||||
- v*
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
goreleaser:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.15
|
||||||
|
- name: Run GoReleaser
|
||||||
|
uses: goreleaser/goreleaser-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: release --rm-dist
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
# This is an example goreleaser.yaml file with some sane defaults.
|
|
||||||
# Make sure to check the documentation at http://goreleaser.com
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
- ./scripts/vendor-licenses -gen > NOTICE
|
|
||||||
builds:
|
builds:
|
||||||
- id: ldap
|
- goos:
|
||||||
main: main.go
|
|
||||||
binary: ldap
|
|
||||||
goos:
|
|
||||||
- darwin
|
- darwin
|
||||||
- freebsd
|
- freebsd
|
||||||
- linux
|
- linux
|
||||||
|
@ -37,4 +31,4 @@ changelog:
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
owner: NetAuth
|
owner: NetAuth
|
||||||
name: ldap
|
name: NetAuth
|
||||||
|
|
Loading…
Reference in a new issue