From 0026cc66c4d2efae3a2e43947d50b2e87fef2fe9 Mon Sep 17 00:00:00 2001 From: armanot <34114374+armanot@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:21:38 +0800 Subject: [PATCH 1/5] Update pythonapp.yml add armanot docker account --- .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..2f5a0d707 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 "armanot" --password-stdin + docker image build -t armanot/gitops:hellov1.0 . + docker push armanot/gitops:hellov1.0 From 7c8f57d66e7c49e58b45a07bd4893642ffd272d2 Mon Sep 17 00:00:00 2001 From: armanot <34114374+armanot@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:24:38 +0800 Subject: [PATCH 2/5] 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..6112b187b 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello armanot!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From a24270c4090f7eb17e6f57c306a6b4d1492a8a60 Mon Sep 17 00:00:00 2001 From: armanot <34114374+armanot@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:31:49 +0800 Subject: [PATCH 3/5] Update app.py add pw --- python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app.py b/python/app.py index 6112b187b..c32f6408b 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello armanot!" + return "Hello armanot! from github" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From 564e590c92926b4b8123395c585b5e2f07d4e03f Mon Sep 17 00:00:00 2001 From: armanot <34114374+armanot@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:34:57 +0800 Subject: [PATCH 4/5] Update pythonapp.yml add pull --- .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 2f5a0d707..26fd49219 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 b2cae7684b68193e23c3f016ec04b5e41256c161 Mon Sep 17 00:00:00 2001 From: "armanot@gmail.com" <armanot@gmail.com> Date: Sun, 21 Jan 2024 17:27:58 +0800 Subject: [PATCH 5/5] 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 c32f6408b..6c4cb9db1 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello armanot! from github" + return "Hello armanot! Good Day" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)