Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin Oguntoye authored and benjamin Oguntoye committed Sep 4, 2022
1 parent d8df326 commit 98f6450
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ before_script:
script:
- docker --version # print the version for logging
- docker build -t udagram-api-feed ./udagram-api-feed
- docker tag udagram-api-feed jlord31/udagram-api-feed:v1
- docker tag udagram-api-feed jlord31/udagram-api-feed:v2
- docker build -t udagram-api-user ./udagram-api-user
- docker tag udagram-api-user jlord31/udagram-api-user:v1
- docker tag udagram-api-user jlord31/udagram-api-user:v2
- docker build -t udagram-frontend ./udagram-frontend
- docker tag udagram-frontend jlord31/udagram-frontend:v3
- docker build -t udagram-reverseproxy ./udagram-reverseproxy
- docker tag udagram-reverseproxy jlord31/reverseproxy:v1
- docker tag udagram-reverseproxy jlord31/reverseproxy:v2

after_success:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push jlord31/udagram-api-feed:v1
- docker push jlord31/udagram-api-user:v1
- docker push jlord31/udagram-api-feed:v2
- docker push jlord31/udagram-api-user:v2
- docker push jlord31/udagram-frontend:v3
- docker push jlord31/reverseproxy:v1
- docker push jlord31/reverseproxy:v2
2 changes: 1 addition & 1 deletion udagram-api-feed/backend-feed-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: backend-feed
image: jlord31/udagram-api-feed:v1
image: jlord31/udagram-api-feed:v2
ports:
- containerPort: 8080
env:
Expand Down
2 changes: 1 addition & 1 deletion udagram-api-user/backend-user-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: backend-user
image: jlord31/udagram-api-user:v1
image: jlord31/udagram-api-user:v2
ports:
- containerPort: 8080
env:
Expand Down
2 changes: 1 addition & 1 deletion udagram-reverseproxy/reverseproxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: reverseproxy
image: jlord31/reverseproxy:v1
image: jlord31/reverseproxy:v2
ports:
- containerPort: 8080
env:
Expand Down

0 comments on commit 98f6450

Please sign in to comment.