Skip to content

fixed parsing of PolyhedralSurface to Solid #16

fixed parsing of PolyhedralSurface to Solid

fixed parsing of PolyhedralSurface to Solid #16

name: docker-build-push-edge
on:
workflow_dispatch:
push:
branches:
- main
env:
IMAGE_NAME: citydb-tool
jobs:
build-push:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
-
name: Parse short sha
uses: benjlevesque/[email protected]
id: short-sha
-
name: set lower case owner name
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
-
name: Checkout repo
uses: actions/checkout@v4
-
name: Docker login Dockerhub
id: docker_login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.platform }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Extract metadata (tags, labels) for docker image
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}
ghcr.io/${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
tags: |
type=edge,branch=main
labels: |
maintainer=Bruno Willenborg
maintainer.email=b.willenborg(at)tum.de
maintainer.organization=Chair of Geoinformatics, Technical University of Munich (TUM)
org.opencontainers.image.authors=Bruno Willenborg
org.opencontainers.image.vendor=3DCityDB Steering Committee
org.opencontainers.image.title=3D City Database 5.0 CLI tool Docker image
org.opencontainers.image.description=3D City Database 5.0 CLI to import/export city model data and to run database operations
org.opencontainers.image.url=https://github.com/3dcitydb/
org.opencontainers.image.documentation=https://github.com/3dcitydb/citydb-tool#docker
org.opencontainers.image.source=https://github.com/3dcitydb/citydb-tool
-
name: Build and publish
uses: docker/build-push-action@v5
id: docker_build
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platform }}
build-args: |
CITYDB_TOOL_VERSION=${{ steps.short-sha.outputs.sha }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}