Skip to content

Copy qbittorrentofficial/qbittorrent-nox:latest to fuckd/qbittorrent-nox:latest #3

Copy qbittorrentofficial/qbittorrent-nox:latest to fuckd/qbittorrent-nox:latest

Copy qbittorrentofficial/qbittorrent-nox:latest to fuckd/qbittorrent-nox:latest #3

Workflow file for this run

name: Copy Docker Image
run-name: Copy ${{ inputs.source_repo }} to ${{ inputs.destination_repo }}
on:
workflow_dispatch:
inputs:
source:
description: '镜像源 (Registry)'
required: true
default: 'docker.io'
destination:
description: '目标源 (Registry)'
required: true
default: 'registry.cn-shanghai.aliyuncs.com'
source_repo:
description: '仓库及标签 (格式 repo:tag)'
required: true
default: ''
destination_repo:
description: '目标仓库及标签 (格式 repo:tag)'
required: true
default: ''
jobs:
copy:
runs-on: ubuntu-latest
steps:
- name: Copy Docker Images
uses: ikrong/docker-sync-action@main
with:
source: ${{ github.event.inputs.source }}
source-credential: ${{ secrets.SOURCE_CREDENTIAL }}
destination: ${{ github.event.inputs.destination }}
destination-credential: ${{ secrets.DESTINATION_CREDENTIAL }}
copy: "${{ github.event.inputs.source_repo }} ${{ github.event.inputs.destination_repo }}"