Skip to content

ministryofjustice/analytical-platform-actions-runner

Repository files navigation

Analytical Platform Actions Runner

repo standards badge

This repository contains the GitHub Actions Runner container image for use in the Analytical Platform.

Running Locally

Build

docker build --platform linux/amd64 --file Dockerfile --tag analytical-platform.service.justice.gov.uk/actions-runner:local .

Run

docker run -it --rm \
  --platform linux/amd64 \
  --name analytical-platform-actions-runner \
  --env GITHUB_TOKEN="XXX" \
  --env GITHUB_REPOSITORY="ministryofjustice/analytical-platform" \
  --env RUNNER_LABELS="YYY" \
  analytical-platform.service.justice.gov.uk/actions-runner:local

Versions

Ubuntu

Generally Dependabot does this, but the following command will return the digest:

docker pull --platform linux/amd64 public.ecr.aws/ubuntu/ubuntu:24.04

docker image inspect --format='{{index .RepoDigests 0}}' public.ecr.aws/ubuntu/ubuntu:24.04

APT Packages

To find latest APT package versions, you can run the following:

docker run -it --rm --platform linux/amd64 public.ecr.aws/ubuntu/ubuntu:24.04

apt-get update

apt-cache policy ${PACKAGE} # for example curl, git or gpg

GitHub Action Runner

Releases and SHAs for GitHub Actions Runner are published on GitHub