Skip to content

Correct docker compose runner #2

Correct docker compose runner

Correct docker compose runner #2

Workflow file for this run

name: Publish Postgres Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Compose
uses: isbang/[email protected]
with:
compose-file: "./ci/docker-compose.yml"
- name: Start containers
run: docker-compose up -d
- name: Wait for containers to start
run: sleep 10
- name: Create Tiled catalog
run: docker exec -it tiled tiled catalog init postgresql+asyncpg://postgres:secret@localhost:5432
- name: Stop containers
run: docker-compose down