Skip to content

Commit

Permalink
update docker-compose (#478)
Browse files Browse the repository at this point in the history
Signed-off-by: Naseem <naseem@transit.app>
  • Loading branch information
Naseem committed Jan 27, 2021
1 parent ca619b5 commit c5c43ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docker-compose/README.md
Expand Up @@ -6,16 +6,17 @@ Arguments passed to this builder will be passed to `docker-compose` directly,
allowing callers to run [any docker-compose
command](https://docs.docker.com/compose/reference/overview/).


# Setup
## Setup

To make this cloud builder available in your active Google Cloud project:

```bash
cd cloud-builders-community/docker-compose
gcloud builds submit --config=cloudbuild.yaml .
```

The build defaults to using the latest version of `docker-compose` at the time of writing: `1.25.5`. To use a different version:
To override the version of `docker-compose` being built, set the `_DOCKER_COMPOSE_VERSION` substitution:

```bash
cd cloud-builders-community/docker-compose
gcloud builds submit --config=cloudbuild.yaml --substitutions=_DOCKER_COMPOSE_VERSION="1.24.0"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/cloudbuild.yaml
@@ -1,7 +1,7 @@
# In this directory, run the following command to build this builder.
# $ gcloud builds submit . --config=cloudbuild.yaml
substitutions:
_DOCKER_COMPOSE_VERSION: 1.25.5
_DOCKER_COMPOSE_VERSION: 1.28.2
steps:
- name: 'gcr.io/cloud-builders/docker'
args:
Expand Down

0 comments on commit c5c43ee

Please sign in to comment.