mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 04:41:46 +03:00
fix docker bld on release (#487)
This commit is contained in:
parent
88633cc776
commit
4d62704d2f
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Build and test docker
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -11,6 +11,8 @@ on:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
# Don't change this name - it is used by the merge protection rules
|
||||
name: Build and test docker image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@ -60,8 +62,9 @@ jobs:
|
||||
|
||||
- name: Test Docker image
|
||||
run: |
|
||||
TAG=$(echo '${{ steps.docker_meta.outputs.tags }}' | cut -d' ' -f1)
|
||||
export MARTIN_BUILD=-
|
||||
export MARTIN_BIN="docker run --rm --net host -e DATABASE_URL -v $PWD/tests:/tests ${{ steps.docker_meta.outputs.tags }}"
|
||||
export MARTIN_BIN="docker run --rm --net host -e DATABASE_URL -v $PWD/tests:/tests $TAG"
|
||||
tests/test.sh
|
||||
env:
|
||||
DATABASE_URL: ${{ steps.pg.outputs.connection-uri }}
|
||||
|
Loading…
Reference in New Issue
Block a user