Skip to content

Docker-compose dev 스크립트 설정 #7

Docker-compose dev 스크립트 설정

Docker-compose dev 스크립트 설정 #7

Workflow file for this run

name: Server CI
on:
pull_request:
branches:
- development
types: [closed]
concurrency:
group: cloud-canvas
jobs:
server-image-build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: NCP registry login
uses: docker/login-action@v3
with:
registry: ${{ secrets.NCP_REGISTRY }}
username: ${{ secrets.NCP_ACCESS_KEY }}
password: ${{ secrets.NCP_SECRET_KEY }}
- name: Docker image build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./apps/server/Dockerfile
push: true
tags: |
cloud-canvas.kr.ncr.ntruss.com/back:dev
cloud-canvas.kr.ncr.ntruss.com/back:${{ github.sha }}