adding reverse proxy configuration, deployment architecture fixes (#10) #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and release dbcli binary when a tag is created | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build-dbcli: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ vars.GO_VERSION }} | |
- name: Install dependencies | |
working-directory: ./backend | |
run: go get . | |
- name: Build bin/dbcli | |
working-directory: ./backend | |
run: make bin/dbcli | |
- name: Generate changelog | |
run: sed -n '/^## \[${{ github.ref }}\] .*/,/^## .*/{//!p}' CHANGELOG.md > CHANGELOG_${{ github.sha }}.md # extract relevant section from CHANGELOG.md | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: ./backend/bin/dbcli | |
body_path: CHANGELOG_${{ github.sha }}.md |