Skip to content

Commit

Permalink
ci 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ssojungg committed Jan 17, 2024
1 parent 48944d3 commit 29b2182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
- 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}
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
docker build --platform linux/amd64 -t myusername/myrepo:${GITHUB_SHA::7} .
docker push myusername/myrepo:${GITHUB_SHA::7}

0 comments on commit 29b2182

Please sign in to comment.