Skip to content

Commit

Permalink
Merge pull request #4 from SV-Winter-BootCamp-Team-C/fix/#3
Browse files Browse the repository at this point in the history
ci 수정
  • Loading branch information
ssojungg committed Jan 17, 2024
2 parents 2756163 + c4b3813 commit 48944d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ jobs:
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- name: Docker build and push
run: |
docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
docker build --platform linux/amd64 -t your-dockerhub-username/your-repo-name:${GITHUB_SHA::7} .
docker push your-dockerhub-username/your-repo-name:${GITHUB_SHA::7}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ services:
restart: always
container_name: grafana
ports:
- "3000:3000"
- "3005:3005"
depends_on:
- prometheus
volumes:
Expand Down

0 comments on commit 48944d3

Please sign in to comment.