Skip to content

Server CI

Server CI #2

Workflow file for this run

name: Server CI
on:
pull_request:
branches:
- develop
types: [closed]
workflow_dispatch:
inputs:
force_notify:
description: "Force Slack notification"
type: boolean
default: false
concurrency:
group: cloud-canvas
cancel-in-progress: true
jobs:
docker-image-build-and-test:
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 }}