Skip to content

Build Tesseract image #43

Build Tesseract image

Build Tesseract image #43

name: Build Tesseract image
on:
workflow_dispatch:
schedule:
# Do it on Mondays :)
- cron: "0 0 * * 1"
jobs:
build-gvmi:
name: Build tesseract GVMI
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v3
- name: Install gvmkit-build
run: pip install gvmkit-build
- name: Build and publish image
working-directory: ./images/tesseract
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
docker build -t golem/tesseract:latest -f Dockerfile .
gvmkit-build --push golem/tesseract:latest