An open API service indexing awesome lists of open source software.

https://github.com/raisultan/ycr-push

Gitub Action for pushing Docker images to Yandex Container Registry (YCR)
https://github.com/raisultan/ycr-push

github-actions github-actions-docker yandex-cloud yandex-cloud-api yandex-cloud-registry

Last synced: 2 months ago
JSON representation

Gitub Action for pushing Docker images to Yandex Container Registry (YCR)

Awesome Lists containing this project

README

          

## YCR Push

### Description
Push Docker images to Yandex Container Registry using Github Actions.

### Variables
1. `KEY_JSON` - contents of key.json
2. `DOCKERFILE_CONTEXT` - optional
3. `DOCKERFILE_PATH`
4. `REGISTRY_ID`
5. `IMAGE_NAME`
6. `IMAGE_TAG`

### Example
```yaml
on:
push:
branches:
- main

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: raisultan/ycr-push@main
env:
KEY_JSON:
REGISTRY_ID:
DOCKERFILE_PATH:
IMAGE_NAME:
IMAGE_TAG:
```