-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adds multiple builds and update API (#286)
* ci: Updates CI builds * refactor: Removes package docker * chore: Updates API build * feat: Updates API * fix: Fixes API * refactor: Renamed variables * fix: Fixes volume bind * ci: Fixes API docker check * feat: No need to copy with volume bind
- Loading branch information
Showing
19 changed files
with
888 additions
and
549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
branches: main | ||
|
||
jobs: | ||
docs-deploy: | ||
github-pages: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: push | ||
on: | ||
push: | ||
branches: main | ||
|
||
jobs: | ||
dockerhub: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
architecture: x64 | ||
- uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: "1.6.1" | ||
- name: Resolve dependencies | ||
run: cd api && poetry export -f requirements.txt --without-hashes --output api/requirements.txt | ||
- name: Build docker | ||
run: cd api && docker build src/. -t frgfm/holocron:latest | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: frgfm | ||
password: ${{ secrets.DOCKERHUB_PW }} | ||
- name: Push to hub | ||
run: docker push frgfm/holocron:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.