Skip to content

Commit

Permalink
Fix GitHub action to install docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
glegoux committed Nov 14, 2024
1 parent 63362c6 commit a7538f3
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ jobs:
os: [ubuntu] # centos

steps:
- name: Check out repository code
uses: actions/checkout@v1

- name: Install docker
uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Install Docker Compose
run: |
DOCKER_COMPOSE_VERSION="2.11.2"
sudo curl -L "https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
- name: Install project
run: |
Expand Down

0 comments on commit a7538f3

Please sign in to comment.