Skip to content

Commit

Permalink
fix: mediator docker-compose image repo and version (#39)
Browse files Browse the repository at this point in the history
* fix: the image repo and version in docker-compose

Co-authored-by: Shailesh Patil <shailesh.patil@iohk.io>
Signed-off-by: Shailesh <Patil>
  • Loading branch information
2 people authored and Shailesh committed Apr 30, 2024
1 parent 17937c0 commit cefbe8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install Compose
uses: ndeloof/install-compose-action@v0.0.1
with:
version: v2.12.2 # defaults to 'latest'
version: v2.19.1 # defaults to 'latest'
legacy: true # will also install in PATH as `docker-compose`

- name: Build local version of Mediator Agent
Expand All @@ -61,16 +61,15 @@ jobs:
cd "${MEDIATOR_PATH}" || exit 129
NODE_OPTIONS=--openssl-legacy-provider sbt -mem 2048 -J-Xmx5120m docker:publishLocal
MEDIATOR_VERSION=$(cut version.sbt -d '=' -f2 | tr -d '" ')
echo "MEDIATOR_VERSION=${MEDIATOR_VERSION}" >> $GITHUB_ENV
echo ${MEDIATOR_VERSION}
- name: Start Mediator
uses: isbang/compose-action@v1.4.1
with:
compose-file: "./docker-compose.yml"
compose-flags: ""
up-flags: "--wait"
down-flags: "--volumes"

- name: Run e2e tests
env:
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
# interval: 10s
# start_period: 30s
atalaprism-mediator:
image: ghcr.io/input-output-hk/mediator:0.1.1-SNAPSHOT
image: ghcr.io/input-output-hk/mediator:${MEDIATOR_VERSION:-0.2.0-SNAPSHOT}
ports:
- 8080:8080
network_mode: host #hash on mac remove this the default is bridge we can use host.docker.internal
Expand Down

0 comments on commit cefbe8f

Please sign in to comment.