From 2ac53ea416a38c01ae221cf7267bcf3490b2bc27 Mon Sep 17 00:00:00 2001 From: TIVMOF <78173711+TIVMOF@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:08:26 +0300 Subject: [PATCH] Create release.yaml --- .github/workflows/release.yaml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..559d9b4 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,35 @@ +name: Release - Server + +on: + workflow_dispatch: + inputs: + release-version: + description: Release Version + required: true + default: 1.0.0 + +run-name: 'version set to ${{ inputs.release-version }} for release' + +jobs: + main: + uses: codbex/codbex-infra/.github/workflows/application-release.yaml@main + with: + application-name: online_bank + release-version: ${{ inputs.release-version }} + release-content: | + ## codbex-aion - ${{ inputs.release-version }} + + Dirigible Bank Server + + ## Deployment + + ``` + docker run --name dirigible-bank-server \ + --rm -p 8080:8080 -p 8081:8081 \ + ghcr.io/tivmof/dirigible-bank-server:${{ inputs.release-version }} + ``` + + ## Access points: + + - [/services/web/dirigible-bank-server/gen/](http://localhost:8080/services/web/dirigible-bank-server/gen/) - Admin Panel + secrets: inherit