Skip to content

Commit

Permalink
ci: hotfix, create dot_env with GitHub secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Saibo Geng committed Sep 25, 2023
1 parent a0ec4d4 commit 990dd4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: 'Create env file'
run: echo "${{ secrets.DOT_ENV }}" > .env
- name: Build the Docker image
run: docker build . --file docker/Dockerfile --tag tmp:$(date +%s) --build-arg USER_NAME=geng --build-arg PROJECT_NAME=gcd --secret id=dot_env,src=docker/.env
13 changes: 0 additions & 13 deletions docker/.env

This file was deleted.

0 comments on commit 990dd4f

Please sign in to comment.