Skip to content

update to same deps as 2.6.1 #6

update to same deps as 2.6.1

update to same deps as 2.6.1 #6

name: Build Authentik Plugin
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Docker Build Environment
run: |
docker pull gotify/build:1.23.3-linux-amd64
- name: Build the Plugin
run: |
docker run --rm -v "$PWD/.:/proj" -w /proj gotify/build:1.23.3-linux-amd64 \
go build -a -installsuffix cgo -ldflags "-w -s" -buildmode=plugin -o plugin/authentik-plugin-amd64.so /proj
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: plugin/authentik-plugin-amd64.so