From 3ec6195bfce921ab01421a8529065cac27a4a7c6 Mon Sep 17 00:00:00 2001 From: Omachonu Ogali Date: Sun, 1 Sep 2024 22:23:32 -0400 Subject: [PATCH] Add example for login to Fly registry Signed-off-by: Omachonu Ogali --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index a7bc268..a6082f6 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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