Skip to content

minor change

minor change #229

name: docker-build-push-edge
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Parse short sha
uses: benjlevesque/[email protected]
id: short-sha
-
name: Checkout repo
uses: actions/checkout@v4
-
name: Docker login
id: docker_login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Build and push image
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
tags: 3dcitydb/impexp:edge
build-args: |
IMPEXP_VERSION=${{ steps.short-sha.outputs.sha }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
-
name: Run container
run: docker run -t --rm 3dcitydb/impexp:edge help | grep -i -E "Usage:"