Skip to content

Commit 8ac2b77

Browse files
Merge pull request #1 from ilmannafian04/dev
Dev
2 parents 25493cd + 5e93b99 commit 8ac2b77

36 files changed

Lines changed: 1324 additions & 140 deletions

.github/workflows/deploy.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Publish Docker image
22

33
on:
44
push:
5-
# tags:
6-
# - v*.*.*
5+
tags:
6+
- v*.*.*
77

88
jobs:
99
docker-image:
@@ -27,19 +27,8 @@ jobs:
2727
id: semver_parser
2828
uses: booxmedialtd/ws-action-parse-semver@v1
2929
with:
30-
# input_string: ${{ github.ref }}
31-
input_string: refs/tags/v0.0.0
30+
input_string: ${{ github.ref }}
3231
version_extractor_regex: '\/v(.*)$'
33-
# - name: Add tag to env var with leading v removed
34-
# run: |
35-
# ref="${github_ref/refs\/tags\/v/}"
36-
# ref="${github_ref/refs\/tags\/v/}"
37-
# echo "major=$ref" >> $GITHUB_ENV
38-
# echo "minor=$ref" >> $GITHUB_ENV
39-
# echo "patch=$ref" >> $GITHUB_ENV
40-
# echo "ref=$ref" >> $GITHUB_ENV
41-
# env:
42-
# github_ref: ${{ github.ref }}
4332
- name: Build and push tags
4433
uses: docker/build-push-action@v2
4534
with:

buffer-be/.example.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
HOST=127.0.0.1
22
PORT=8000
33
DATABASE_URL=postgres://postgres:abcd1234@localhost:5432/buffer
4+
REDIS_URL=127.0.0.1:6379
5+
# SECRET_KEY must bet at least 32 characters
6+
SECRET_KEY=aaabbbcccdddeeeffgghhiijj12
47

58
LOG_LEVEL=info
69
RUST_LOG=${LOG_LEVEL}

0 commit comments

Comments
 (0)