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

idris #7

Open
wants to merge 3 commits into
base: main
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM nginx:alpine

COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf .