Skip to content

Commit

Permalink
install docker compose via cli inside ci job???
Browse files Browse the repository at this point in the history
  • Loading branch information
lukey-luke committed Jan 23, 2025
1 parent fab0d00 commit 1266719
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ jobs:
- name: Check docker version
run: docker --version

- name: Check make version
run: make --version
- name: Install docker compose manually
run: DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} |
mkdir -p $DOCKER_CONFIG/cli-plugins |
curl -SL https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose |
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose

- name: Docker compose version
run: docker compose version

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand All @@ -47,7 +53,7 @@ jobs:
java-version: "11"

- name: Run docker command manually on self-hosted
run: docker-compose -f ./docker-compose.base.yml build base
run: docker compose -f ./docker-compose.base.yml build base

- name: Build app
run: make ci-app
Expand Down

0 comments on commit 1266719

Please sign in to comment.