Skip to content

containerbase/internal-tools

Repository files navigation

Renovate docker builder action

Build status GitHub release (latest SemVer) Licence: AGPL-3.0 codecov

Github Action used to build the renovate docker images

Inputs

command

Required The name of the command to execute. Default "build".

Example usage

docker-publish

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'}}

docker-config

Configure docker with buildx on second harddrive.

- uses: renovatebot/gh-action@v0
  with:
    command: docker-config

local testing

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