Skip to content

Commit

Permalink
add web
Browse files Browse the repository at this point in the history
  • Loading branch information
fifsky committed Mar 18, 2020
1 parent f094134 commit 296c921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Build the Docker image
run: |
cd api
echo "${{secrets.DOCKER_USERNAME}}" > .env
docker login --username=${{secrets.DOCKER_USERNAME}} --password=${{secrets.DOCKER_PASSWORD}} registry.cn-shanghai.aliyuncs.com
docker build . --file Dockerfile --tag registry.cn-shanghai.aliyuncs.com/fifsky/gostruct
docker push registry.cn-shanghai.aliyuncs.com/fifsky/gostruct
Expand Down
1 change: 1 addition & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk update && \
WORKDIR /app

COPY ./app ./
COPY .env ./

ENV TZ=Asia/Shanghai
EXPOSE 8989
Expand Down

0 comments on commit 296c921

Please sign in to comment.