This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
Optimise dockerfiles, fix ci, release images #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🧪 Build and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
paths: | |
- src/** | |
- .github/workflows/** | |
- docker/** | |
# Allow manual trigger | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
uses: hotosm/gh-workflows/.github/workflows/[email protected] | |
with: | |
image_name: ghcr.io/${{ github.repository }} | |
build_dockerfile: docker/underpass.dockerfile | |
compose_service: underpass | |
compose_command: echo "Tests complete." | |
# TODO update postgis image to use github repo var ${{ vars.POSTGIS_TAG }} | |
cache_extra_imgs: | | |
"docker.io/postgis/postgis:15-3.3-alpine" |