diff --git a/lesson-4-automating-development/exercises/travis_env_var_exercise/.travis.yml b/lesson-4-automating-development/exercises/travis_env_var_exercise/.travis.yml index 9a4d315..502ad10 100644 --- a/lesson-4-automating-development/exercises/travis_env_var_exercise/.travis.yml +++ b/lesson-4-automating-development/exercises/travis_env_var_exercise/.travis.yml @@ -16,8 +16,8 @@ before_script: script: - docker --version # print the version for logging - docker build -t simple-node . - - docker tag simple-node YOUR_DOCKER_HUB/simple-node:latest + - docker tag simple-node yusidris/simple-node:latest after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker push YOUR_DOCKER_HUB/simple-node + - docker push yusidris/simple-node diff --git a/lesson-6-kubernetes-for-production/demos/reverse-proxy/.travis.yml b/lesson-6-kubernetes-for-production/demos/reverse-proxy/.travis.yml index 6b36897..f960777 100644 --- a/lesson-6-kubernetes-for-production/demos/reverse-proxy/.travis.yml +++ b/lesson-6-kubernetes-for-production/demos/reverse-proxy/.travis.yml @@ -11,14 +11,14 @@ install: # Scripts to be run such as tests before_script: - - echo "no tests" + - echo "no test" script: - docker --version # print the version for logging - docker build -t simple-reverse-proxy . - - docker tag simple-reverse-proxy DOCKER_HUB_ACCOUNT/simple-reverse-proxy:latest + - docker tag simple-reverse-proxy yusidris/simple-reverse-proxy:latest after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker push DOCKER_HUB_ACCOUNT/simple-reverse-proxy + - docker push yusidris/simple-reverse-proxy diff --git a/lesson-6-kubernetes-for-production/demos/reverse-proxy/Dockerfile b/lesson-6-kubernetes-for-production/demos/reverse-proxy/Dockerfile index 998dd66..d5bd46c 100644 --- a/lesson-6-kubernetes-for-production/demos/reverse-proxy/Dockerfile +++ b/lesson-6-kubernetes-for-production/demos/reverse-proxy/Dockerfile @@ -1,3 +1,3 @@ FROM nginx:alpine -COPY nginx.conf /etc/nginx/nginx.conf +COPY nginx.conf .