Skip to content

Conversation

@sunninz
Copy link
Contributor

@sunninz sunninz commented Oct 28, 2025

๐Ÿ‘€ ๊ด€๋ จ ์ด์Šˆ

#356

โœจ ์ž‘์—…ํ•œ ๋‚ด์šฉ

GitHub Actions์—์„œ Deploy ๋‹จ๊ณ„ ์‹œ export DOCKERHUB_USERNAME, export IMAGE_TAG๋ฅผ ์‚ฌ์šฉํ–ˆ๋Š”๋ฐ ์ด ๊ฐ’๋“ค์ด SSH ์„ธ์…˜ ๋‚ด์—์„œ๋งŒ ์œ ํšจํ•ด ์„œ๋ฒ„ ์žฌ๋ถ€ํŒ… ํ›„ ์‚ฌ๋ผ์กŒ์Šต๋‹ˆ๋‹ค.
SSH ์„ธ์…˜์—์„œ exportํ•œ ํ™˜๊ฒฝ๋ณ€์ˆ˜๋Š” ์„œ๋ฒ„ ์žฌ๋ถ€ํŒ… ํ›„ Docker Compose๊ฐ€ ๋ณ€์ˆ˜๋ฅผ ์ฝ์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค.
IMAGE_TAG๋Š” ๋งค ๋ฐฐํฌ ์‹œ์ ์˜ ${{ github.sha }} ๊ฐ’์œผ๋กœ ๋ณ€ํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๊ณ ์ • .env์— ๋„ฃ๊ธฐ๋„ ๊ณค๋ž€ํ•ด์„œ ๋งค ๋ฐฐํฌ ์‹œ ์ตœ์‹  SHA์™€ Docker Hub ๊ณ„์ •์œผ๋กœ /home/ubuntu/classlog/.env๋ฅผ ๊ฐฑ์‹ ํ•˜๋„๋ก ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.

๐ŸŒ€ PR Point

X

๐Ÿฐ ์ฐธ๊ณ ์‚ฌํ•ญ

X

๐Ÿ“ท ์Šคํฌ๋ฆฐ์ƒท ๋˜๋Š” GIF

X

@sunninz sunninz self-assigned this Oct 28, 2025
@sunninz sunninz added the ๐Ÿ“ฆ Chore ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์ˆ˜์ •, ๊ทธ ์™ธ ๊ธฐํƒ€ ์ˆ˜์ •, ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ธํŒ… ex) .gitignore label Oct 28, 2025
@sunninz sunninz linked an issue Oct 28, 2025 that may be closed by this pull request
@sunninz sunninz merged commit 72dfcca into dev Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

๐Ÿ“ฆ Chore ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์ˆ˜์ •, ๊ทธ ์™ธ ๊ธฐํƒ€ ์ˆ˜์ •, ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ธํŒ… ex) .gitignore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

๐Ÿ“ฆ CD ํŒŒ์ดํ”„๋ผ์ธ ์ˆ˜์ •

2 participants