Add GH doc link and fix typo

Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
Tim Etchells 2021-04-19 08:42:54 -04:00
parent 470f401e89
commit c98aae5db0

View file

@ -57,13 +57,15 @@ jobs:
# Now you can push images, and pull private ones, from quay.io as 'quayuser'. # Now you can push images, and pull private ones, from quay.io as 'quayuser'.
``` ```
Logging into `github`'s container registry is just as easy: Logging into GitHub's container registry is just as easy:
```yaml ```yaml
name: Log in to ghcr.io name: Log in to ghcr.io
on: on:
push: push:
# Refer to https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
# for information about the 'github' context object.
env: env:
REGISTRY_USER: ${{ github.actor }} REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ github.token }} REGISTRY_PASSWORD: ${{ github.token }}
@ -74,7 +76,7 @@ jobs:
name: Log in to GitHub Container Registry name: Log in to GitHub Container Registry
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Log in to ghrc.io - name: Log in to ghcr.io
uses: redhat-actions/podman-login@v1 uses: redhat-actions/podman-login@v1
with: with:
username: ${{ env.REGISTRY_USER }} username: ${{ env.REGISTRY_USER }}