Skip to content

Commit

Permalink
⚡ github actions 용 캐시 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ddoddii committed Jan 11, 2024
1 parent 22e2769 commit c81b0ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.PROJECT_NAME }}:latest
cache-from: type=gha # 여기서 gha 는 GitHub Actions 용 캐시를 의미
cache-to: type=gha,mode=max

- name: Save state
run: echo "{name}={value}" >> $GITHUB_STATE

- name: Set output
run: echo "{name}={value}" >> $GITHUB_OUTPUT

# EC2 인스턴스 접속 및 애플리케이션 실행
-
Expand Down

0 comments on commit c81b0ee

Please sign in to comment.