[ci/cd] github를 이용한 ci/cd 구축 - 1
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..

image