mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-02-23 10:31:21 +01:00
readme tweak
Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
parent
d57fe01c91
commit
9c147846b9
1 changed files with 5 additions and 4 deletions
|
@ -54,7 +54,7 @@ jobs:
|
||||||
password: ${{ env.REGISTRY_PASSWORD }}
|
password: ${{ env.REGISTRY_PASSWORD }}
|
||||||
registry: ${{ env.IMAGE_REGISTRY }}
|
registry: ${{ env.IMAGE_REGISTRY }}
|
||||||
|
|
||||||
# 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:
|
||||||
|
@ -64,8 +64,6 @@ 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 }}
|
||||||
|
@ -83,5 +81,8 @@ jobs:
|
||||||
password: ${{ env.REGISTRY_PASSWORD }}
|
password: ${{ env.REGISTRY_PASSWORD }}
|
||||||
registry: ${{ env.IMAGE_REGISTRY }}
|
registry: ${{ env.IMAGE_REGISTRY }}
|
||||||
|
|
||||||
# Now you can push images, and pull private ones, from ghcr.io.
|
# Now you can push images, and pull private ones, from ghcr.io.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Refer to the [GitHub documentation](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context)
|
||||||
|
for information about the `github` context object.
|
||||||
|
|
Loading…
Add table
Reference in a new issue