Skip to content

Commit

Permalink
change docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtwinkle committed Jan 18, 2024
1 parent 5ca6d07 commit 3f67349
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/test-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ jobs:
if: ${{ steps.cache-go.outputs.cache-hit != 'true' }}
run: go mod download
- name: Setup Docker
uses: isbang/[email protected]
with:
compose-file: ${{ env.testdir }}/docker-compose.yaml
up-flags: "-d"
services: |
elasticmq
minio
miniocreatebuckets
dynamodb
dynamodbcreatetable
working-directory: ${{ env.testdir }}
env:
DOCKER_BUILDKIT: 1
run: |
# Create the directory for the volume of dynamodb in advance, otherwise permission error will occur.
# https://stackoverflow.com/questions/45850688/unable-to-open-local-dynamodb-database-file-after-power-outage
mkdir -p ./docker/dynamodb/data
sudo chmod 777 ./docker/dynamodb/data
docker compose up -d
- name: Test
working-directory: ${{ env.testdir }}
run: |
Expand Down

0 comments on commit 3f67349

Please sign in to comment.