Download .github/workflows/privoxy.yml from LifeVta/Grok3API: direct link, hf CLI and curl.
- Browser
- Download file 962 Bytes
-
https://huggingface.co/spaces/LifeVta/Grok3API/resolve/main/.github/workflows/privoxy.yml
- Command line
-
hf download hf://spaces/LifeVta/Grok3API/.github/workflows/privoxy.yml
-
curl -L -o privoxy.yml https://huggingface.co/spaces/LifeVta/Grok3API/resolve/main/.github/workflows/privoxy.yml
962 Bytes
| name: Build Privoxy-WARP Image | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - Dockerfile.privoxy | |
| workflow_dispatch: | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push privoxy-warp | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: Dockerfile.privoxy | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: ghcr.io/${{ github.repository_owner }}/privoxy-warp:latest | |