We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed03e6e commit f0ce3ebCopy full SHA for f0ce3eb
.github/workflows/main.yml
@@ -23,6 +23,11 @@ jobs:
23
sed -i 's|host=qwc-postgis|host=localhost|g' ~/.pg_service.conf
24
sed -i 's|port=5432|port=5439|g' ~/.pg_service.conf
25
sed -Ei "s|^(\s*POSTGRES_PASSWORD:).*$|\1 'waej7WuoOoth0wor'|" docker-compose-example.yml
26
+ if [ ${{ endsWith(github.ref, '-lts') }} = true ]; then
27
+ sed -Ei "s|:latest\S+|:latest-${GITHUB_REF:11:4}-lts|g" docker-compose-example.yml
28
+ else
29
+ sed -Ei "s|:latest\S+|:latest|g" docker-compose-example.yml
30
+ fi
31
docker compose -f docker-compose-example.yml up -d qwc-postgis qwc-config-db-migrate
32
33
- name: Setting up Python
0 commit comments