Skip to content

Commit

Permalink
Add docker installation in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MogageNicolae committed Aug 19, 2024
1 parent 559b3c1 commit b83aa80
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,29 @@ jobs:
with:
node-version: '20'

- name: Check Docker Version
run: docker --version

- name: Install Latest Docker
run: |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
- name: Check Docker Version
run: docker --version

- name: Install Docker Compose 2.23.0
run: |
DOCKER_COMPOSE_VERSION=2.23.0
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
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Check Docker Compose Version
run: docker-compose --version

- name: Install dependencies
run: npm ci

Expand Down

0 comments on commit b83aa80

Please sign in to comment.