Skip to content

Commit

Permalink
🔨 refactor: cache-from/to registry type으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Honghyeonji committed Jan 20, 2025
1 parent 9f087d4 commit c1271e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/boolock-dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
file: Dockerfile.base
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/base-image:latest
cache-from: type=gha,scope=base-image
cache-to: type=gha,mode=max,scope=base-image
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/base-image:latest
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/base-image:latest

- name: Build and Push Frontend Image
uses: docker/build-push-action@v4
Expand All @@ -57,8 +57,8 @@ jobs:
file: apps/client/Dockerfile.test
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/boolock_client_test:latest
cache-from: type=gha,scope=frontend
cache-to: type=gha,mode=max,scope=frontend
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_client_test:latest
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_client_test:latest
build-args: |
DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
Expand All @@ -69,8 +69,8 @@ jobs:
file: apps/server/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/boolock_server_test:latest
cache-from: type=gha,scope=backend
cache-to: type=gha,mode=max,scope=backend
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_server_test:latest
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/boolock_server_test:latest
build-args: |
DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit c1271e3

Please sign in to comment.