File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,21 @@ jobs:
59
59
username : ${{secrets.DOCKER_REGISTRY_ACCESS_KEY}}
60
60
password : ${{secrets.DOCKER_REGISTRY_SECRET_KEY}}
61
61
62
- - name : 🐳 Docker 빌드 및 푸시
63
- run : docker buildx build -f apps/media/Dockerfile . -t ${{secrets.DOCKER_REGISTRY_URL}}/media:${{ github.sha }} -t ${{secrets.DOCKER_REGISTRY_URL}}/media:latest --push
64
62
65
- deploy :
63
+ - name : Set up Docker Buildx
64
+ uses : docker/setup-buildx-action@v3
65
+
66
+ - name : 🐳 Docker 빌드 및 푸시
67
+ uses : docker/build-push-action@v6
68
+ with :
69
+ context : .
70
+ file : apps/media/Dockerfile
71
+ push : true
72
+ tags : ${{secrets.DOCKER_REGISTRY_URL}}/media:${{ github.sha }},${{secrets.DOCKER_REGISTRY_URL}}/media:latest
73
+ cache-from : type=gha
74
+ cache-to : type=gha,mode=min
75
+
76
+ deploy-test :
66
77
needs : build
67
78
name : Deploy media
68
79
runs-on : [ticle-main]
Original file line number Diff line number Diff line change
1
+ # ./apps/web 디렉토리 제외
2
+ apps/web
You can’t perform that action at this time.
0 commit comments