brew/Dockerfile.yml
Mike McQuaid 9a5f54c0c3
.github/workflows/tests: use homebrew/brew docker image.
This has replaced the linuxbrew/brew one.
2019-10-09 21:12:11 +01:00

36 lines
739 B
YAML

version: '3.7'
services:
sut:
build:
context: .
cache_from:
- homebrew/brew
args:
- FORCE_REBUILD=1
command:
- sh
- -xc
- |
/home/linuxbrew/.linuxbrew/bin/brew test-bot
status=$$?
exit $$status
environment:
# GitHub Actions
- GITHUB_ACTIONS
- GITHUB_BASE_REF
- GITHUB_EVENT_NAME
- GITHUB_REF
- GITHUB_REPOSITORY
- GITHUB_SHA
- HEAD_GITHUB_REF
# Azure Pipelines
- BUILD_REASON
- BUILD_REPOSITORY_URI
- BUILD_SOURCEVERSION
- SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
- SYSTEM_PULLREQUEST_TARGETBRANCH
- TF_BUILD
# GitHub API
- HOMEBREW_GITHUB_API_TOKEN