Skip to content

Commit

Permalink
Update CI/CD Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
isala404 committed Sep 1, 2019
1 parent 8a00979 commit 698e8d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/DockerFile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM nginx
FROM nginx:alpine
EXPOSE 80
COPY ./ /usr/share/nginx/html
COPY . /usr/share/nginx/html/
2 changes: 1 addition & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo ${{secrets.DOCKER_PASSWORD}} | docker login docker.pkg.github.com -u ${{secrets.DOCKER_USERNAME}} --password-stdin
- name: Build Image
run: |
docker build -f .github/Dockerfile -t $IMAGE_NAME .
docker build -f .github/DockerFile -t $IMAGE_NAME .
docker tag $IMAGE_NAME $IMAGE_NAME:commit-${GITHUB_SHA}
docker tag $IMAGE_NAME $IMAGE_NAME:production
env:
Expand Down

0 comments on commit 698e8d8

Please sign in to comment.