ci: 支持Miflow编译
All checks were successful
CI Monitor CI/CD / build-image (push) Successful in 34s
CI Monitor MIflow / build-image (push) Successful in 39s
CI Monitor CI/CD / deploy (push) Successful in 33s

This commit is contained in:
zhaoyingbo 2024-07-26 09:02:51 +00:00
parent 6d535be6ed
commit dca8afc9cd

View File

@ -0,0 +1,28 @@
name: CI Monitor MIflow
on:
push:
branches:
- master
jobs:
build-image:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: micr.cloud.mioffice.cn
username: ${{ secrets.MI_DOCKER_USERNAME }}
password: ${{ secrets.MI_DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: micr.cloud.mioffice.cn/egg/ci_monitor:${{ github.sha }}