refactor: 更新接口定义,将BackupProvider更改为Provider,并调整相关查询结构 #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish Docker Image | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build-and-push: | |
permissions: | |
packages: write | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build and push Docker image | |
uses: TBXark/docker-action@master | |
with: | |
docker_registry: ghcr.io | |
docker_username: ${{ github.actor }} | |
docker_password: ${{ secrets.GITHUB_TOKEN }} | |
backup_registry: ${{ secrets.BACKUP_REGISTRY }} | |
backup_username: ${{ secrets.BACKUP_USERNAME }} | |
backup_password: ${{ secrets.BACKUP_PASSWORD }} |