-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (29 loc) · 975 Bytes
/
server-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 }}