Skip to content

Commit

Permalink
Merge pull request #56 from smallstepman/patch-1
Browse files Browse the repository at this point in the history
ci: build docker image and push it to GitHub container registry
  • Loading branch information
sarperavci authored Dec 8, 2024
2 parents 8734fbd + 6c770fa commit efcf7d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build and publish a Docker image to ghcr.io
on:
push:
branches:
- main

jobs:
docker_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master # https://github.com/marketplace/actions/push-to-ghcr
with:
image_name: ${{ github.repository }} # it will be lowercased internally
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ Then, run the Docker container:
docker run -p 8000:8000 cloudflare-bypass
```

Alternatively, you can skip `docker build` step, and run the container using pre-build image:
```bash
docker run -p 8000:8000 ghcr.io/sarperavci/CloudflareBypassForScraping:latest
```

# What is this not?

Expand Down

0 comments on commit efcf7d5

Please sign in to comment.