Skip to content

拆分 mosdns 配置文件,支持 ip 优选 #5

拆分 mosdns 配置文件,支持 ip 优选

拆分 mosdns 配置文件,支持 ip 优选 #5

name: Docker Image Builder
on:
push:
branches: [ main ]
jobs:
Docker_Image_Builder:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nestingdns:latest
platforms: |
linux/amd64
linux/arm64
- name: Delete Workflow Runs
uses: GitRML/delete-workflow-runs@main
with:
retain_days: 30
keep_minimum_runs: 10