Skip to content

Commit

Permalink
Merge pull request #17 from Seshat-Global-History-Databank/update-GH-…
Browse files Browse the repository at this point in the history
…packages

Update GitHub packages
  • Loading branch information
edwardchalstrey1 authored Jul 8, 2024
2 parents 37083f2 + 2d582cf commit 0bff9ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
paths:
- 'Dockerfile'
- 'requirements.txt'
- '.github/workflows/build.yml'
pull_request:
branches: [dev]
paths:
- 'Dockerfile'
- 'requirements.txt'
- '.github/workflows/build.yml'

jobs:
build:
Expand All @@ -30,4 +32,4 @@ jobs:
with:
context: .
push: true
tags: docker.pkg.github.com/edwardchalstrey1/seshat/tests-image:latest
tags: docker.pkg.github.com/seshat-global-history-databank/seshat/tests-image:latest
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
password: ${{ secrets.GH_TOKEN }}
- name: Pull and run Docker image
run: |
docker pull docker.pkg.github.com/edwardchalstrey1/seshat/tests-image:latest
docker run -d -p 5432:5432 -v ${{ github.workspace }}:/seshat -e DJANGO_SETTINGS_MODULE=seshat.settings.local -e POSTGRES_PASSWORD=postgres -e PGDATA=/var/lib/postgresql/data/db-files/ -e GITHUB_ACTIONS='true' --name seshat_testing docker.pkg.github.com/edwardchalstrey1/seshat/tests-image:latest
docker pull docker.pkg.github.com/seshat-global-history-databank/seshat/tests-image:latest
docker run -d -p 5432:5432 -v ${{ github.workspace }}:/seshat -e DJANGO_SETTINGS_MODULE=seshat.settings.local -e POSTGRES_PASSWORD=postgres -e PGDATA=/var/lib/postgresql/data/db-files/ -e GITHUB_ACTIONS='true' --name seshat_testing docker.pkg.github.com/seshat-global-history-databank/seshat/tests-image:latest
- name: Sleep, then check PostgreSQL connectivity
run: |
sleep 10
Expand Down

0 comments on commit 0bff9ab

Please sign in to comment.