Skip to content

Commit

Permalink
Add example for login to Fly registry
Browse files Browse the repository at this point in the history
  • Loading branch information
oogali committed Sep 2, 2024
1 parent 9780b0c commit 55bd214
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,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 55bd214

Please sign in to comment.