Skip to content

Commit

Permalink
Change gears ⚙️ now we use 'releases' to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Nov 29, 2023
1 parent 9f3a627 commit 109546c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -25,8 +29,12 @@ jobs:
run: sleep 10

- name: Create Tiled catalog
run: docker exec -i tiled tiled catalog init postgresql+asyncpg://postgres:secret@postgres:5432
run: docker exec -i tiled-test-db tiled catalog init postgresql+asyncpg://postgres:secret@postgres:5432

- name: Dump sql data into binary format
run: docker exec -i postgres /bin/bash -c "PGPASSWORD=secret pg_dump --username postgres postgres" > tiled_test_db_pg.sql

- name: Stop containers
run: docker-compose down


4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
tiled:
container_name: tiled
tiled-test-db:
container_name: tiled-test-db
image: ghcr.io/bluesky/tiled:main
environment:
TILED_SINGLE_USER_API_KEY: secret
Expand Down

0 comments on commit 109546c

Please sign in to comment.