zhaoyingbo a9fbe4cdb4
Some checks failed
CI Monitor MIflow / build-image (push) Failing after 36s
ci: 更新Dockerfile
2024-08-09 08:03:52 +00:00

31 lines
865 B
YAML

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:
context: .
file: docker/Dockerfile
push: true
tags: micr.cloud.mioffice.cn/egg/gitlab_monitor:${{ github.sha }}