Skip to content

Commit

Permalink
Update docker compose syntax to v2+
Browse files Browse the repository at this point in the history
As per https://github.blog/changelog/2024-04-10-github-hosted-runner-images-deprecation-notice-docker-compose-v1/,
I saw build failures in github action along the lines of:

    docker-compose: command not found
  • Loading branch information
spikeheap committed Oct 8, 2024
1 parent 4d4fc54 commit 37112f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: docker-compose build hackney-shared-cautionary-alerts-test
run: docker compose build hackney-shared-cautionary-alerts-test
- name: Run tests
run: docker-compose run hackney-shared-cautionary-alerts-test
run: docker compose run hackney-shared-cautionary-alerts-test

publish-package:
name: Publish Package
Expand Down

0 comments on commit 37112f4

Please sign in to comment.