From cdf43b14446a74abfb2323af90ff6911cca7e5ae Mon Sep 17 00:00:00 2001 From: mihaitacristian <51115257+mihaitacristian@users.noreply.github.com> Date: Tue, 14 Dec 2021 08:45:50 +0200 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..8aa4490c5 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 "mihaitacristian" --password-stdin + docker image build -t mihaitacristian/gitops:hellov1.0 . + docker push mihaitacristian/gitops:hellov1.0 From 8ca36a0b1d0fd9dd451ddf0e0063752a0eb7034a Mon Sep 17 00:00:00 2001 From: mihaitacristian <51115257+mihaitacristian@users.noreply.github.com> Date: Tue, 14 Dec 2021 08:46:31 +0200 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..43998661e 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello World Students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From c9881de58b96b0f8e30a8758618322428395ec33 Mon Sep 17 00:00:00 2001 From: mihaitacristian <51115257+mihaitacristian@users.noreply.github.com> Date: Tue, 14 Dec 2021 08:48:54 +0200 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 8aa4490c5..911b43b3c 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 51785a01341249866a1bc6cfd7ce6462760a7320 Mon Sep 17 00:00:00 2001 From: mihaitacristian <51115257+mihaitacristian@users.noreply.github.com> Date: Tue, 14 Dec 2021 08:51:03 +0200 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 43998661e..2b772716e 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World Students!" + return "Hello World Students again!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000)