Skip to content

Commit

Permalink
Add example for login to Fly registry
Browse files Browse the repository at this point in the history
Signed-off-by: Omachonu Ogali <oogali@gmail.com>
  • Loading branch information
oogali committed Sep 2, 2024
1 parent 9780b0c commit 3ec6195
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ___
* [OCI Oracle Cloud Infrastructure Registry (OCIR)](#oci-oracle-cloud-infrastructure-registry-ocir)
* [Quay.io](#quayio)
* [DigitalOcean](#digitalocean-container-registry)
* [Fly.io](#flyio)
* [Customizing](#customizing)
* [inputs](#inputs)
* [Contributing](#contributing)
Expand Down Expand Up @@ -495,6 +496,31 @@ jobs:
password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
```

### Fly.io

Use an [access token](https://fly.io/docs/security/tokens/) to authenticate to the
container registry.

```yaml
name: ci
on:
push:
branches: main
jobs:
login:
runs-on: ubuntu-latest
steps:
-
name: Login to Fly.io Container Registry
uses: docker/login-action@v3
with:
registry: registry.fly.io
username: x
password: ${{ secrets.FLY_API_TOKEN }}
```

## Customizing

### inputs
Expand Down

0 comments on commit 3ec6195

Please sign in to comment.