Github Action used to build the renovate docker images
Required The name of the command to execute. Default "build".
Publish image to docker registry only if image id has changed.
- uses: renovatebot/gh-action@v0
with:
command: docker-publish
image: renovate/ubuntu
tags: latest;18.04
dry-run: ${{github.ref != 'refs/heads/main'}}Configure docker with buildx on second harddrive.
- uses: renovatebot/gh-action@v0
with:
command: docker-configBuild each missing version with the repository's builder.sh, then upload the archive and its checksum to the GitHub release.
The versions to build are configured in builder.json (see schema.json).
To test an archive before it gets uploaded, set test in builder.json to a script path relative to the workspace.
The script runs on the host after each build, also in dry-run mode, with the absolute archive path and the version as arguments and with the environment of the action, e.g. DISTRO and ARCH.
It can start the distro images to test in itself.
When it fails, the version is marked as failed and nothing gets uploaded for it.
{
"image": "git",
"startVersion": "2.40.0",
"test": "bin/test.sh"
}Without setting CI=true the action will always run in dry-run mode. Input must be prefixed with INPUT_ and uppercase name.
export INPUT_COMMAND=docker-builder
pnpm start