From efefce82640e84d1194c281b708351c9f3c88e83 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sat, 30 Sep 2023 17:12:34 -0400 Subject: [PATCH 1/4] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index c3e5d3176..20f4204b3 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -23,6 +23,6 @@ jobs: - name: Build & Push Image run: | cd ./python - echo "${{ secrets.DOCKERPW }}" | docker login -u "[your dockerhub login here]" --password-stdin - docker image build -t [your dockerhub username here]/gitops:hellov1.0 . - docker push [your docker hub username here]/gitops:hellov1.0 + echo "${{ secrets.DOCKERPW }}" | docker login -u "jeffreytorma@yahoo.com" --password=${{ secrets.DOCKERPW }} + docker image build -t jmtorma/gitops:hellov1.0 . + docker push jmtorma/gitops:hellov1.0 From 9292a42c0b6c90c49616eec72ee69140a87d2457 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sat, 30 Sep 2023 17:16:23 -0400 Subject: [PATCH 2/4] Update app.py --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 358088e4c..2576f2ac6 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello LA Student!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From f2d1f655bb7648ae0b5403e298c4a5d9cbf4b131 Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:33:41 -0400 Subject: [PATCH 3/4] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 20f4204b3..c410c7771 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,7 +1,7 @@ name: Python application on: - push: + pull_request: paths: - 'python/*' From 060ade01fc94e7a13a46e44f44afb27b063135ac Mon Sep 17 00:00:00 2001 From: jmtorma <58999156+jmtorma@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:36:16 -0400 Subject: [PATCH 4/4] Update app.py --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 2576f2ac6..ec910ffd1 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello LA Student!" + return "Hello LA Student Again!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)