feat: add permanent whitelist list endpoint and rename DB table
- Add GET /api/whitelist/perm/list to list permanent whitelisted entries - Implement permWhitelistListHandler with API key verification - Rename permanent_whitelist table to perm_whitelist for consistency - Update default DB path from ./data to /data - Comment out build job in CI/CD workflow
This commit is contained in:
30
.github/workflows/ci-cd.yml
vendored
30
.github/workflows/ci-cd.yml
vendored
@@ -28,24 +28,24 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
build:
|
||||
name: Build binaries
|
||||
runs-on: shell-ubuntu
|
||||
needs: lint-and-format
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
run: git clone "${{ secrets.G_CLONE_URL }}" .
|
||||
# build:
|
||||
# name: Build binaries
|
||||
# runs-on: shell-ubuntu
|
||||
# needs: lint-and-format
|
||||
# steps:
|
||||
# - name: Checkout repo
|
||||
# run: git clone "${{ secrets.G_CLONE_URL }}" .
|
||||
|
||||
- name: Build for Linux amd64
|
||||
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-linux-amd64 .
|
||||
# - name: Build for Linux amd64
|
||||
# run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-linux-amd64 .
|
||||
|
||||
- name: Build for Windows amd64
|
||||
run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-windows-amd64.exe
|
||||
# - name: Build for Windows amd64
|
||||
# run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-windows-amd64.exe
|
||||
|
||||
- name: Package binaries
|
||||
run: |
|
||||
tar czf auth-proxy-linux-amd64.tar.gz auth-proxy-linux-amd64
|
||||
tar czf auth-proxy-windows-amd64.tar.gz auth-proxy-windows-amd64.exe
|
||||
# - name: Package binaries
|
||||
# run: |
|
||||
# tar czf auth-proxy-linux-amd64.tar.gz auth-proxy-linux-amd64
|
||||
# tar czf auth-proxy-windows-amd64.tar.gz auth-proxy-windows-amd64.exe
|
||||
|
||||
docker:
|
||||
name: Build & push Docker image
|
||||
|
||||
Reference in New Issue
Block a user