Skip to content

Commit

Permalink
hotfix:actions
Browse files Browse the repository at this point in the history
  • Loading branch information
im-Qarch committed Apr 1, 2024
1 parent 10c5946 commit e0fbc49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
workflows: ["ci-flow"]
types:
- completed
push:
branches: ["dev"]

env:
REGISTRY: ghcr.io
Expand All @@ -35,9 +33,7 @@ jobs:
password: ${{ secrets.GIT_PERSONAL_ACCESS_TOKEN }}

- name: Load secrets and save to app.env
run: |
$APP_ENV | jq -r > app.env
cat ./app.env
run: echo $APP_ENV | base64 --decode > app.env

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
2 changes: 2 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
set -e

echo "start the app"
source /app/app.env

exec "$@"

0 comments on commit e0fbc49

Please sign in to comment.