-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.08 KB
/
PROXY_DEV_BUILD.yml
File metadata and controls
41 lines (36 loc) · 1.08 KB
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
35
36
37
38
39
40
41
name: Proxy Dev Dockerfile Build
on:
pull_request:
branches:
- main
paths:
- "nginx/Dockerfile"
jobs:
proxy-build:
name: proxy-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: GitHub Container Registry 로그인
uses: docker/login-action@v1
with:
registry: ghcr.io
username: kumsil1006
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Docker images build 및 GitHub Container Registry로 push
uses: docker/build-push-action@v3.2.0
with:
push: true
tags: ghcr.io/kumsil1006/oao-dev-proxy
context: ./nginx
- name: 실패시 슬랙 메시지 전송
if: ${{ failure() }}
uses: ./.github/actions/slack-notify
with:
slack_incoming_url: ${{ secrets.SLACK_INCOMING_URL }}
- name: 성공시 슬랙 메시지 전송
if: ${{ success() }}
uses: ./.github/actions/slack-notify
with:
status: success
slack_incoming_url: ${{ secrets.SLACK_INCOMING_URL }}