ci: 支持Miflow编译
This commit is contained in:
parent
6d535be6ed
commit
dca8afc9cd
28
.gitea/workflows/miflow.yml
Normal file
28
.gitea/workflows/miflow.yml
Normal 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 }}
|
Loading…
x
Reference in New Issue
Block a user