![[ci/cd] github를 이용한 ci/cd 구축 - 1](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FboewaV%2FbtsrqINy7Qx%2FAAAAAAAAAAAAAAAAAAAAAEau1Cp0X-rt0MGMnkUrqucGIIw7LT7oOO8vJ5bi1OPx%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DljGoFQioPugRz9dvuIWYfRbyjEE%253D)
IT/cicd2023. 8. 18. 16:57[ci/cd] github를 이용한 ci/cd 구축 - 1
1. github 접속 2. repo 메뉴 중 Actions 3. New workflow 생성 Docker image를 빌드 하기 위해 Docker image 선택 build code는 본인의 설정에 따라 맞추면 된다. # https://docs.docker.com/build/ci/github-actions/#step-three-define-the-workflow-steps # workflow 이름 name: Docker hub image build # workflow에서 작업이 실행되는 조건 (push, pull, ...) on: push: branches: - 'main' tags: - 'v*' #작업에 대한 정의 jobs: build: runs-on: ubuntu-latest steps: ### r..