Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2e0cab2
docker user
nmbiren Jan 12, 2021
178848e
version update
nmbiren Jan 12, 2021
15bc342
Update app.py
nmbiren Jan 12, 2021
66d1fd9
Update app.py
nmbiren Jan 12, 2021
1f09209
update docker repo
nmbiren Jan 12, 2021
550d294
update username
nmbiren Jan 12, 2021
5f976a9
updated
nmbiren Jan 12, 2021
912c4ab
revert username, update version
nmbiren Jan 12, 2021
1292094
updated
nmbiren Jan 12, 2021
55f0b58
update image build path
nmbiren Jan 12, 2021
396b9a5
updated again
nmbiren Jan 12, 2021
9b6f779
pull command
nmbiren Jan 12, 2021
33cfdb5
updated return
nmbiren Jan 12, 2021
8a9fb8b
Merge pull request #1 from nmbiren/feature-branch
nmbiren Jan 12, 2021
929e332
updated pull_request
nmbiren Jan 13, 2021
8c34521
updated
nmbiren Jan 13, 2021
23888c0
pull request
nmbiren Jan 13, 2021
a30076a
updated docker pull
nmbiren Jan 13, 2021
0970cbc
updated username
nmbiren Jan 13, 2021
354b0fb
updated
nmbiren Jan 13, 2021
8c5ea0e
update to push
nmbiren Jan 13, 2021
a78eb19
Update pythonapp.yml
nmbiren Jan 13, 2021
a9a43fc
updated docker login
nmbiren Jan 14, 2021
eaae79e
Update app.py
nmbiren Jan 14, 2021
d7c9b62
updated version for pull_request
nmbiren Jan 14, 2021
ffa39f0
Update app.py
nmbiren Jan 14, 2021
67ea7db
Update app.py
nmbiren Jan 17, 2021
6d56510
updated 1.5
nmbiren Jan 17, 2021
974128e
Update app.py
nmbiren Jan 17, 2021
56c427d
updated pull request
nmbiren Jan 17, 2021
81165c0
Update app.py
nmbiren Jan 17, 2021
8ce41b3
updated
nmbiren Jan 17, 2021
faf5c29
Merge branch 'master' into feature-branch
nmbiren Jan 17, 2021
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
8 changes: 4 additions & 4 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Python application

on:
push:
pull_request:
paths:
- 'python/*'

Expand All @@ -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=nmbiren --password=${{ secrets.DOCKERPW }}
docker image build -t nmbiren/containerimages1:hellov1.5 .
docker push nmbiren/containerimages1:hellov1.5
5 changes: 2 additions & 3 deletions python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
app = Flask(__name__)

@app.route("/")
def hello():
return "Hello World!"

def hello()
return "Hello, does this work?"
if __name__ == "__main__":
app.run(host='0.0.0.0', port=8000)