mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-02-23 02:21:22 +01:00
Add GH doc link and fix typo
Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
parent
470f401e89
commit
c98aae5db0
1 changed files with 4 additions and 2 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue