mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-19 02:17:46 +00:00
fix(ci): fix Build Release and docker-image workflows
- Add bundle creation step before building custom installer (copies ProxyPilot.exe, config, icons to cmd/installer/bundle/) - Make docker-image workflow conditional on DockerHub secrets - Skip docker build when credentials aren't configured
This commit is contained in:
@@ -6,12 +6,14 @@ on:
|
||||
- v*
|
||||
|
||||
env:
|
||||
APP_NAME: CLIProxyAPI
|
||||
DOCKERHUB_REPO: eceasy/cli-proxy-api-plus
|
||||
APP_NAME: ProxyPilot
|
||||
DOCKERHUB_REPO: ${{ secrets.DOCKERHUB_REPO || 'proxypilot/proxypilot' }}
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
# Only run if DockerHub credentials are available
|
||||
if: ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user