728x90
๋ฐ˜์‘ํ˜•

2024/06/14 1

[CICD ๊ตฌ์ถ•] GitHub Actions ์›Œํฌํ”Œ๋กœ์šฐ ๊ตฌ์„ฑํ•˜๊ธฐ

์›Œํฌํ”Œ๋กœ์šฐ ๊ฐœ์š”์ด GitHub Actions ์›Œํฌํ”Œ๋กœ์šฐ๋Š” Java, Spring Boot, Ubuntu, Docker๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ CI/CD(Continuous Integration/Continuous Deployment)๋ฅผ ์ž๋™ํ™”ํ•˜๋Š” ์„ค์ •์ด๋‹ค.์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” develop-be ๋ธŒ๋žœ์น˜์— push ๋˜๋Š” pull request ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ•  ๋•Œ ์‹คํ–‰๋œ๋‹ค.๋‘ ๊ฐœ์˜ ์ž‘์—…(Job)  build, deploy ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋‹ค.Docker๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— Docker ์ด๋ฏธ์ง€๋ฅผ ๋นŒ๋“œํ•˜๋Š” ๋‹จ๊ณ„์—์„œ Dockerfile์ด ํ•„์š”ํ•˜๋‹ค. Dockerfile ์ค€๋น„ํ•˜๊ธฐDockerfile์€ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์‹คํ–‰ ํ™˜๊ฒฝ์„ ์ฝ”๋“œ๋กœ ์ •์˜ํ•˜์—ฌ, ์–ด๋””์„œ๋‚˜ ๋™์ผํ•œ ํ™˜๊ฒฝ์—์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•œ๋‹ค. Dockerfile์„ ์‚ฌ์šฉํ•˜์—ฌ ..

728x90
๋ฐ˜์‘ํ˜•