-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51550ad
commit 5a201ee
Showing
3 changed files
with
2 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,33 +14,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# - name: Set up Python | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: "3.10" | ||
|
||
# - name: Start MongoDB | ||
# uses: supercharge/[email protected] | ||
# with: | ||
# mongodb-version: 5.0.5 | ||
# mongodb-replica-set: test-rs | ||
# mongodb-port: 27017 | ||
|
||
# - name: Install dependencies | ||
# run: pip install -r requirements.txt | ||
|
||
# - name: Build package | ||
# run: pip install -e . | ||
|
||
# - name: Generate kaggle.json | ||
# env: | ||
# KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }} | ||
# KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }} | ||
# run: python src/utils/generate_kaggle_keys.py | ||
|
||
# - name: Build pipeline | ||
# run: python src/utils/build_pipeline.py | ||
|
||
- name: DockerHub Login | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -56,32 +29,14 @@ jobs: | |
context: . | ||
file: ./Dockerfile | ||
push: true | ||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/passwordometer-api:1.0.1 | ||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/passwordometer-api:1.1.0 | ||
secrets: | | ||
"KAGGLE_USERNAME=${{ secrets.KAGGLE_USERNAME }}" | ||
"KAGGLE_KEY=${{ secrets.KAGGLE_KEY }}" | ||
"MONGODB_CONN_STRING=${{ secrets.MONGODB_CONN_STRING }}" | ||
#? --------------------------------------------------------------------------- | ||
|
||
# - name: Build the Docker image | ||
# # run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} | ||
# run: docker build . --file Dockerfile --env KAGGLE_USERNAME=${{ secrets.KAGGLE_USERNAME }} KAGGLE_KEY=${{ secrets.KAGGLE_KEY }} MONGODB_CONN_STRING=${{ secrets.MONGODB_CONN_STRING }} --tag ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --port 80:80 | ||
# env: | ||
# IMAGE_NAME: passwordometer-api | ||
# TAG: 1.0.1 | ||
# KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }} | ||
# KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }} | ||
# MONGODB_CONN_STRING: ${{ secrets.MONGODB_CONN_STRING }} | ||
|
||
# - name: Docker Push | ||
# run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} | ||
# env: | ||
# IMAGE_NAME: passwordometer-api | ||
# TAG: 1.0.1 | ||
|
||
#? --------------------------------------------------------------------------- | ||
|
||
# - name: Login in Github | ||
# run: | | ||
# echo ${{ secrets.API_GITHUB_TOKEN }} | docker login ghcr.io -u ${{ secrets.API_GITHUB_TOKEN }} --password-stdin | ||
|
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 |
---|---|---|
|
@@ -45,7 +45,7 @@ def get_long_description(file_path: str = "README.md") -> str: | |
|
||
setup( | ||
name="Passwordometer", | ||
version="1.0.0", | ||
version="1.1.0", | ||
author="Karthik Udyawar", | ||
author_email="[email protected]", | ||
license="MIT", | ||
|