mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-15 07:21:23 +00:00
Add note about private registries
https://github.com/redhat-actions/buildah-build/issues/19 Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
a1b98d2603
commit
75dab40354
1 changed files with 9 additions and 0 deletions
|
@ -193,6 +193,15 @@ jobs:
|
|||
port: 8080
|
||||
```
|
||||
|
||||
## Using private images
|
||||
If your build requires a private image, you have to `docker login` in a step before running this action.
|
||||
|
||||
For example:
|
||||
```yaml
|
||||
- name: Log in to Red Hat Registry
|
||||
run: echo "${{ secrets.REGISTRY_REDHAT_IO_PASSWORD }}" | docker login registry.redhat.io -u "${{ secrets.REGISTRY_REDHAT_IO_USER }}" --password-stdin
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
This is an open source project open to anyone. This project welcomes contributions and suggestions!
|
||||
|
|
Loading…
Reference in a new issue