feat: 更新本地提供者配置,支持通过Action字段指定更新操作 #20
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 }} |