Skip to content
/ fly-proxy Public

Run flyctl proxy on github action as container services

Notifications You must be signed in to change notification settings

pyk/fly-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

fly-proxy

Run fly proxy on your github action.

Usage

Publish

In order to push the docker image to ghcr, you need to login first:

echo "GITHUB_PERSONAL_ACCESS_TOKEN" | docker login ghcr.io -u GITHUB_USERNAME --password-stdin

Learn how to get your github personal access token here, make sure your personal access token have write:packages permission.

Build and push the image:

docker buildx build -f Dockerfile --platform linux/amd64 --push -t ghcr.io/pyk/fly-proxy:VERSION .

Run docker container locally:

docker run --rm \
    --name proxy-postgres \
    -p 5432:8000 \
    -e FLY_API_TOKEN=$(fly auth token) \
    -e FLY_APP="APP_NAME" \
    -e FLY_PORT=5432 \
    ghcr.io/pyk/fly-proxy:VERSION

About

Run flyctl proxy on github action as container services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages