Skip to content

Commit

Permalink
🙀 chore: docker hub password token으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Honghyeonji committed Jan 17, 2025
1 parent df6d99b commit 0f80bc6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/boolock-dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

- name: Build and Push Base Image
uses: docker/build-push-action@v4
Expand All @@ -71,6 +71,8 @@ jobs:
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_client_test:latest
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_client_test:latest
outputs: type=docker
build-args: |
DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
- name: Build and Push Backend Image
uses: docker/build-push-action@v4
Expand All @@ -83,6 +85,8 @@ jobs:
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_server_test:latest
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_server_test:latest
outputs: type=docker
build-args: |
DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
deploy:
needs: build
Expand Down

0 comments on commit 0f80bc6

Please sign in to comment.