Skip to content

Custom

Custom #9

Workflow file for this run

name: Custom
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * 0" # 每周日凌晨0点执行
jobs:
docling:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Nautobot image with plugins
uses: docker/build-push-action@v5
with:
context: .
file: ./packaging/docker/custom/Dockerfile.docling
# build-args: |
# NAUTOBOT_VERSION=${{ matrix.nautobot_version }}
tags: ${{ secrets.DOCKER_USERNAME }}/docling:latest
push: true