Skip to content

Commit

Permalink
Update release.yml (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzy0077 authored Jun 12, 2020
1 parent fd8455e commit 45b8a93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
- name: Log into Github registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin

- name: Setup database
run: |
cargo install diesel_cli --no-default-features --features postgres
diesel migration run --migration-dir ./server/migrations
- name: Build image
run: docker build --network=host . --file Dockerfile --tag image

Expand Down

0 comments on commit 45b8a93

Please sign in to comment.