-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Description
Since the latest Ubuntu tools update in the GitHub standard runner, all Docker Compose usage with profiles is broken when used with the --profiles
CLI option.
This is a known issue fixed in v2.36.1: docker/compose#12825
This has a major impact on all people relying on Docker Compose with profiles, using the CLI option to explicitly define them.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250527.1
Is it regression?
https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250511.1
Expected behavior
Bump to the highest fixed version.
Actual behavior
Docker compose does not find the service.
Repro steps
Define a docker compose file with a service that use profiles :
service-a:
image: myimage:latest
profiles:
- ci
try to run it with docker compose like
docker compose build service-a
rodvic, cesrgzrz, szabolcs-raiqon, mate-raiqon, simonv3 and 1 more