Skip to content

Commit 75899d3

Browse files
authored
Merge pull request #54 from SeoJaeWan/develop
Deploy
2 parents bfb1222 + 2fb15ea commit 75899d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
run: |
3939
docker buildx build --cache-from=type=local,src=/tmp/.buildx-cache \
4040
--cache-to=type=local,dest=/tmp/.buildx-cache \
41+
--push \
4142
-t ${{ secrets.DOCKERHUB_USERNAME}}/rhythm-up:latest .
42-
docker push ${{ secrets.DOCKERHUB_USERNAME}}/rhythm-up:latest
4343
4444
- name: Deploy to Server with Docker Compose
4545
uses: appleboy/ssh-action@master

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.16-alpine3.19 as builder
1+
FROM node:20.16-alpine3.19 AS builder
22

33
WORKDIR /builder
44

@@ -10,7 +10,7 @@ COPY . .
1010

1111
RUN yarn build
1212

13-
FROM node:20.16-alpine3.19 as production
13+
FROM node:20.16-alpine3.19 AS production
1414

1515
WORKDIR /app
1616

0 commit comments

Comments
 (0)