Dev #994 프로젝트 사용자 권한 관리 시스템 설계/개발 ( keycloak 연동 k8s 권한 관리 ) #396
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Image | |
on: | |
pull_request_target: | |
branches: | |
- main | |
- develop | |
- release | |
env: | |
SERVICE: tks-api | |
TAG: ${{github.sha}} | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: build image | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
push: false | |
tags: | | |
sktcloud/${{env.SERVICE}}:${{env.TAG}} |