Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Billnolf patch 1 #44

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.2 .
docker push cloud_user/gitops:hellov1.2
2 changes: 1 addition & 1 deletion python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)