Skip to content

Add object detection demo #37

Add object detection demo

Add object detection demo #37

Workflow file for this run

name: Build container image
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
- name: checkout files in repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay.io
uses: docker/login-action@v2
if: github.ref == 'refs/heads/master'
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and push
uses: docker/bake-action@v2.3.0
with:
files: docker/docker-bake.hcl
targets: |
default
gpu
push: ${{ github.event_name != 'pull_request' }}
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max