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)
- Host: GitHub
- URL: https://github.com/raisultan/ycr-push
- Owner: raisultan
- License: mit
- Created: 2022-02-20T19:28:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T16:15:08.000Z (about 4 years ago)
- Last Synced: 2025-06-08T08:48:55.577Z (10 months ago)
- Topics: github-actions, github-actions-docker, yandex-cloud, yandex-cloud-api, yandex-cloud-registry
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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:
```