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

https://github.com/nabeken/docker-renovate-github-apps

A Renovate container image that works with Github Apps Installation Token
https://github.com/nabeken/docker-renovate-github-apps

docker-image renovate

Last synced: about 2 months ago
JSON representation

A Renovate container image that works with Github Apps Installation Token

Awesome Lists containing this project

README

          

# docker-renovate-github-apps
[![Sync with upstream](https://github.com/nabeken/docker-renovate-github-apps/actions/workflows/sync_with_upstream.yml/badge.svg)](https://github.com/nabeken/docker-renovate-github-apps/actions/workflows/sync_with_upstream.yml)
[![Docker Image](https://github.com/nabeken/docker-renovate-github-apps/actions/workflows/docker-image.yml/badge.svg)](https://github.com/nabeken/docker-renovate-github-apps/actions/workflows/docker-image.yml)

`docker-renovate-github-apps` is a container image to run [the official Renovate image](https://github.com/renovatebot/docker-renovate/tree/main) with Github Apps Installation Token.

## How It Works

If there are the following three environment variables found, an entrypoint script will invoke `go-github-apps` command prior to invoking the original entrypoint. Renovate will be result in using Github Apps Installation Token.

- `GO_GITHUB_APPS_APP_ID`: Github Apps ID
- `GO_GITHUB_APPS_INST_ID`: Github Apps Installation ID of the app
- `GITHUB_PRIV_KEY`: Github Apps' private key to request an Installation token

For more details, please visit https://github.com/nabeken/go-github-apps

## Usage in Github Actions

See https://github.com/nabeken/renovate-config-oss/blob/main/.github/workflows/renovate.yml

## Container images

https://github.com/nabeken/docker-renovate-github-apps/pkgs/container/renovate-github-apps

## Release

This project will not have Github Release but tags that are the corresponding upstream container images.

- Renovate will update the upstream version in `Dockerfile`
- Renovate will merge it automatically
- Github Actions will create or update a corresponding tag in this repository with Github Apps Installation Token because the default `GITHUB_TOKEN` won't trigger an event
- Github Actions will build a container image and push it

## Build

```
make build
```