mobilitydb-master-update #64
This file contains hidden or 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 Docker images for MobilityDB master branch | |
| on: | |
| workflow_dispatch: | |
| repository_dispatch: | |
| types: [mobilitydb-master-update] | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| make-docker-images: | |
| strategy: | |
| matrix: | |
| postgres: [13, 14, 15, 16, 17] | |
| postgis: [3.5] | |
| name: Build docker image for ${{ matrix.postgres }}-${{ matrix.postgis }}-master | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| env: | |
| VERSION: ${{ matrix.postgres }}-${{ matrix.postgis }}-master | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - name: Build docker image for ${{ env.VERSION }} | |
| run: make build | |
| - name: Login to dockerhub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| - name: Push docker image to dockerhub | |
| run: make push |