Spaces:
Running
Running
Download .github/workflows/dockerize.yml from Jishnupg/FileToLink: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/spaces/Jishnupg/FileToLink/resolve/main/.github/workflows/dockerize.yml
- Command line
-
hf download hf://spaces/Jishnupg/FileToLink/.github/workflows/dockerize.yml
-
curl -L -o dockerize.yml https://huggingface.co/spaces/Jishnupg/FileToLink/resolve/main/.github/workflows/dockerize.yml
571 Bytes
| name: Docker Build & Push | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| if: github.repository == 'fyaz05/FileToLink' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: fyaz05 | |
| password: ${{ secrets.DOCKER_TOKEN }} | |
| - name: Build and Push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| push: true | |
| tags: fyaz05/thunder:latest | |