Skip to content

Commit

Permalink
ci: install docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShubhendra committed Aug 5, 2024
1 parent 5baabc6 commit cd22083
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/apisix-docker-example-test-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
- name: Build image
run: |
make build-on-${{ matrix.platform }}
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose --version
- name: use docker-compose
env:
APISIX_IMAGE_TAG: ${{ format('{0}-{1}', env.APISIX_VERSION, matrix.platform) }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/apisix-docker-example-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
- name: Build image
run: |
make build-on-${{ matrix.platform }}
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose --version
- name: use docker-compose
env:
APISIX_IMAGE_TAG: ${{ format('{0}-{1}', env.APISIX_VERSION, matrix.platform) }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apisix_dev_push_docker_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose --version
- name: Build and run
run: |
make build-on-debian-dev
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apisix_push_docker_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose --version
- name: Build and run
run: |
make build-on-${{ matrix.platform }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/dashboard_push_docker_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose --version
- name: Build and run
run: |
make build-dashboard-${{ matrix.os }}
Expand Down

0 comments on commit cd22083

Please sign in to comment.