Distribution
Overview
Get a release into your customers’ hands. You shipped a version you’re confident in – distribution is how you hand it to the people outside your team who need it.
Pick the version you want to share, make it public, and Fly gives you a link or command your customers use to get it directly. Every download is tracked, and you can revoke access the moment you’re done.
Distribute
Distributing an artifact version makes it available to your customers. Once a version is publicly available, anyone you share the link or pull command with can download or pull it directly, without a token.
Distribution never changes your private registry. Your internal artifacts stay private – distribution takes the specific version you choose and makes that copy available to your customers. You decide which versions to share, and you can revoke access at any time.
Distribution currently supports the following package types:
- Generic artifacts – Manage generic distribution →
- Docker images – Manage Docker distribution →
How to Distribute
From Your Coding Agent
Simply prompt your agent to distribute your version:
“Distribute my-app version 2.1.0 publicly”
Fly makes the version public and hands back the download URL or docker pull command to share with your customers.
From Fly Web
- Find the artifact or release you want to share – from the Artifacts page or a Release page
- Open the actions menu and select Manage Distribution
- Toggle distribution on
Fly generates the public download URL (for generic artifacts) or pull command (for Docker images) right there for you to copy and share.
From CI
Add the distribute step after you upload or push, so every release you publish is shared automatically.
Generic artifact:
- uses: jfrog/fly-action@v1 # Setup Fly
- uses: jfrog/fly-action/distribute@v1 # Distribute publicly
with:
name: my-app
version: '1.0.0'
type: genericDocker image:
- uses: jfrog/fly-action/distribute@v1 # Distribute publicly
with:
name: myorg/my-image
version: '1.0.0'
type: dockerHow to Pull
Your customers retrieve the version directly, with no authentication. The command depends on the package type.
Generic Artifact
Customers download any file in the version from its public URL:
https://<your-fly-subdomain>.jfrog.io/public/generic/<name>/<version>/<file>For example:
curl -O https://acme.jfrog.io/public/generic/my-app/2.1.0/my-app.dmgDocker Image
Customers pull the image anonymously, with no docker login:
docker pull <your-fly-subdomain>.jfrog.io/docker-public/<image>:<tag>For example:
docker pull acme.jfrog.io/docker-public/myorg/my-image:1.0.0Track Distribution
Keep track of what you’ve shared – how many times each of your releases has been downloaded, and what’s currently public. Check in anytime by asking your coding agent, or open Fly Web to view and manage it directly:
- Public badge – Distributed versions display a Public badge on the artifact version and on the release it belongs to. Hover the badge to see who distributed the version and when.
- Download activity – Expand a distributed version on the Artifacts page to see its public activity:
- Download count – how many times the version was downloaded or pulled publicly, updated in real time.
- Copy link – copy its public download URL or pull command to share with customers.
Want to keep tabs on what’s public? Ask your coding agent to notify you whenever a new distribution happens – and you’re all set. Read more in Notifications →.
Remove Distribution
Stop sharing a version whenever you need to. When you remove its distribution, the version becomes private again immediately – the public download URL and pull command stop working, and your customers can no longer access it.
Removing distribution only turns off public access. The artifact itself stays in your private registry, so you can distribute the same version again later.
To remove it, ask your coding agent:
“Revoke public access to my-app version 2.1.0”
Or toggle it off in Fly Web:
- Find the distributed artifact or release – from the Artifacts page or a Release page
- Open the actions menu and select Manage Distribution
- Toggle distribution off
Note
If you delete the original artifact, Fly removes the public copy and all distribution data automatically.
Next Steps
- Distribute Docker images → - Push an image, then make it publicly pullable
- Distribute generic artifacts → - Upload a file, then share a public download URL
- Artifacts → - Browse and manage all your artifacts
- Releases → - Releases that produce artifacts
- Notifications → - Get notified when distribution events happen