Skip to content

KakaoCloud handson workflow #1

KakaoCloud handson workflow

KakaoCloud handson workflow #1

Workflow file for this run

name: KakaoCloud-handson
run-name: KakaoCloud handson workflow
on: [push]
jobs:
deploy-image:
runs-on: ubuntu-latest
steps:
- name: Set up Qemu
uses: docker/setup-qemu-action@v2
- name: Login KakaoCloud
uses: docker/login-action@v2
with:
registry: ${{ secrets.KAKAO_CLOUD_PROJECT_NAME }}.kr-central-1.kcr.dev
username: ${{ secrets.KAKAO_CLOUD_ACCESS_KEY }}
password: ${{ secrets.KAKAO_CLOUD_ACCESS_SECRET_KEY }}
- name: Set ENV
run: echo "TIME=$(date "+%Y-%m-%d-%H-%M")" >> $GITHUB_ENV
- name: Build and Push
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ secrets.KAKAO_CLOUD_REPOSITORY_NAME }}.kr-central-2.kcr.dev/${{ secrets.KAKAO_CLOUD_REPOSITORY_NAME }}/kep-library:${{ env.TIME }}