Skip to content

Deploy latest image to GHCR on release #5

Deploy latest image to GHCR on release

Deploy latest image to GHCR on release #5

Workflow file for this run

name: Docker Build and Publish
on:
workflow_dispatch:
release:
types: [created]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Docker login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: luxonis-ml
password: ${{ secrets.GHCR_PAT }}
- name: Publish
run: |
docker build -t ghcr.io/luxonis/datadreamer:latest .
docker push ghcr.io/luxonis/datadreamer:latest