fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 8s

This commit is contained in:
Orion Kindel
2023-07-19 18:46:33 -05:00
parent e8e69d4790
commit 9929ee928a
4 changed files with 17 additions and 9 deletions

View File

@@ -7,7 +7,9 @@ jobs:
!startsWith(gitea.event.head_commit.message, 'chore')
container:
image: 'git.orionkindel.com/dnim/db-ci-runner:disheveled-iceberg-launched-loosely'
volumes: ['/run/user/1001/docker.sock:/run/user/1001/docker.sock']
volumes:
- '/run/user/1001/docker.sock:/run/user/1001/docker.sock'
- '/var/run/postgresql:/var/run/postgresql'
steps:
- uses: 'actions/checkout@v3'
with: { fetch-depth: 0, ref: 'main', submodules: 'recursive' }
@@ -39,5 +41,6 @@ jobs:
git push
fi
env:
DOCKER_NETWORK_HOST: 'host.docker.internal'
PG_HOST_BASE: '/var/run/postgresql/.s.PGSQL.5432'
PG_HOST_HEAD: '/var/run/postgresql/.s.PGSQL.5433'
DOCKER_HOST: 'unix:///run/user/1001/docker.sock' # HACK: rootless docker on gitea action runner