Skip to content

Commit

Permalink
ci: template
Browse files Browse the repository at this point in the history
Signed-off-by: GeunSam2 <[email protected]>
  • Loading branch information
GeunSam2 committed Feb 19, 2024
1 parent d57e23d commit bee70b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: geunsam2/cicd-example:latest
tags: [이미지명]:[태그] # <- 수정 요망

-
name: SSH Remote Commands
Expand All @@ -42,6 +42,6 @@ jobs:
port: 22
timeout: 40s # 30초 기본
script: |
docker pull geunsam2/cicd-example:latest
docker rm -f cicd-example
docker run -d -p 41000:8000 --name cicd-example geunsam2/cicd-example:latest
docker pull [이미지명]:[태그] # <- 수정 요망
docker rm -f [컨테이너명] # <- 수정 요망
docker run -d -p [사용할 포트]:8000 --name [컨테이너명] [이미지명]:[태그] # <- 수정 요망

0 comments on commit bee70b8

Please sign in to comment.