Skip to content

fixing linux capturing #25

fixing linux capturing

fixing linux capturing #25

Workflow file for this run

name: ci
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - name: Install Deps
# run: sudo apt -y install libopencv-dev
- name: Build
run: mkdir build && cd build && ../cbuild
build-Docker:
runs-on: ubuntu-latest
name: Build Container
needs: [ build ] # for ignoring bad builds
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Container
uses: docker/build-push-action@v6
with:
push: true
tags: |
sarsoo/knowledgecrawler:latest
sarsoo/knowledgecrawler:${{ github.ref_name }}
file: Dockerfile