Skip to content

Extend official actions/runner image #172

Extend official actions/runner image

Extend official actions/runner image #172

Workflow file for this run

name: build
on:
pull_request:
paths:
- .github/workflows/build.yaml
- .github/workflows/reusable--build-and-test.yaml
- .github/workflows/reusable--e2e-test.yaml
- Dockerfile
- Dockerfile.*
- entrypoint.sh
- e2e-test/**
push:
paths:
- .github/workflows/build.yaml
- .github/workflows/reusable--build-and-test.yaml
- .github/workflows/reusable--e2e-test.yaml
- Dockerfile
- Dockerfile.*
- entrypoint.sh
- e2e-test/**
branches:
- main
tags:
- '*'
workflow_call:
inputs:
context:
type: string
required: false
description: context passed to docker/build-push-action (optional)
tags:
type: string
required: false
description: tags passed to docker/metadata-action (optional)
jobs:
runner:
uses: ./.github/workflows/reusable--build-and-test.yaml
secrets: inherit
with:
context: ${{ inputs.context }}
tags: ${{ inputs.tags }}
runner-name: runner-${{ github.run_id }}
runner-ubuntu20:
uses: ./.github/workflows/reusable--build-and-test.yaml
secrets: inherit
with:
context: ${{ inputs.context }}
tags: ${{ inputs.tags }}
file: Dockerfile.ubuntu20
flavor: suffix=-ubuntu20
runner-name: runner-ubuntu20-${{ github.run_id }}