Skip to content

Commit

Permalink
GH-535: [Dev] Use compose.yaml not docker-compose.yml (#536)
Browse files Browse the repository at this point in the history
Fixes GH-535.

Because Docker Compose recommends `compose.yaml`:


https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file

> The default path for a Compose file is compose.yaml (preferred) or
> compose.yml that is placed in the working directory. Compose also
> supports docker-compose.yaml and docker-compose.yml for backwards
> compatibility of earlier versions. If both files exist, Compose
> prefers the canonical compose.yaml.
  • Loading branch information
kou authored Jan 20, 2025
1 parent 2e4283a commit b32b0c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: .docker
key: maven-${{ matrix.jdk }}-${{ matrix.maven }}-${{ hashFiles('**/docker-compose.yml', '**/pom.xml') }}
key: maven-${{ matrix.jdk }}-${{ matrix.maven }}-${{ hashFiles('**/compose.yaml', '**/pom.xml') }}
restore-keys: maven-${{ matrix.jdk }}-${{ matrix.maven }}-
- name: Execute Docker Build
env:
Expand Down
File renamed without changes.

0 comments on commit b32b0c0

Please sign in to comment.