From dca8afc9cd69c7b574b8d06751d08ef0dd4d183c Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Fri, 26 Jul 2024 09:02:51 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=94=AF=E6=8C=81Miflow=E7=BC=96?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/miflow.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/miflow.yml diff --git a/.gitea/workflows/miflow.yml b/.gitea/workflows/miflow.yml new file mode 100644 index 0000000..e25b27c --- /dev/null +++ b/.gitea/workflows/miflow.yml @@ -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 }}