Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruigomes99 committed Aug 30, 2024
1 parent 09d5678 commit c29613c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7

- name: Get latest Docker Compose version
id: get-compose-version
run: |
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
echo "COMPOSE_VERSION=${COMPOSE_VERSION}" >> $GITHUB_ENV
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
curl -L "https://github.com/docker/compose/releases/download/${{ env.COMPOSE_VERSION }}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
- name: Verify Docker Compose installation
run: docker-compose --version
Expand Down

0 comments on commit c29613c

Please sign in to comment.