Skip to content

Commit

Permalink
fix: docker buildx setup 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sjy2335 committed Nov 12, 2024
1 parent 5286195 commit e65737b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
sparse-checkout: |
${{ inputs.path }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Cache Docker images
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -69,8 +72,8 @@ jobs:
context: ./${{ inputs.service }}/${{ inputs.path }}
file: ./${{ inputs.service }}/${{ inputs.path }}/Dockerfile
tags: |
ghcr.io/${{ github.repository_owner }}/${{ inputs.service }}:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/${{ inputs.service }}:latest
ghcr.io/${{ github.repository_owner }}/${{ inputs.service }}/${{ inputs.path }}:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/${{ inputs.service }}/${{ inputs.path }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down

0 comments on commit e65737b

Please sign in to comment.