From 9a7e33424c698a62b4510ba94d7a16bfa5d192e5 Mon Sep 17 00:00:00 2001 From: billnolf <156126634+billnolf@users.noreply.github.com> Date: Tue, 9 Jan 2024 15:34:04 -0500 Subject: [PATCH 1/3] 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 c3e5d31..a4bb1b6 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 + docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} + docker image build -t cloud_user/gitops:hellov1.1 . + docker push cloud_user/gitops:hellov1.1 From f0d1819c2e0e6ab2f2f89572f338f3f00ddbb881 Mon Sep 17 00:00:00 2001 From: billnolf <156126634+billnolf@users.noreply.github.com> Date: Tue, 9 Jan 2024 15:35:15 -0500 Subject: [PATCH 2/3] 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 358088e..0ec4af0 100644 --- a/python/app.py +++ b/python/app.py @@ -3,7 +3,7 @@ @app.route("/") def hello(): - return "Hello World!" + return "Hello Students!" if __name__ == "__main__": app.run(host='0.0.0.0', port=8000) From f71b751cfca7d73eec9150bbd1315deb32dc431a Mon Sep 17 00:00:00 2001 From: billnolf <156126634+billnolf@users.noreply.github.com> Date: Tue, 9 Jan 2024 15:38:54 -0500 Subject: [PATCH 3/3] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index a4bb1b6..0ead3e7 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -24,5 +24,5 @@ jobs: run: | cd ./python docker login --username=cloud_user --password=${{ secrets.DOCKERPW }} - docker image build -t cloud_user/gitops:hellov1.1 . - docker push cloud_user/gitops:hellov1.1 + docker image build -t cloud_user/gitops:hellov1.2 . + docker push cloud_user/gitops:hellov1.2