Skip to content

Commit

Permalink
docker 로그인 방식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
nahowo committed Dec 3, 2024
1 parent fa20aff commit 66cf3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# Docker build
- name: Docker build
run: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker build -t alchive .
docker tag alchive alchive/alchive:${GITHUB_SHA::7}
docker push alchive/alchive:${GITHUB_SHA::7}

0 comments on commit 66cf3cc

Please sign in to comment.