Skip to content

Workflow file for this run

name: Deploy latest image to GHCR on release
on:
workflow_dispatch:
release:
types: [published]
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 -t ghcr.io/luxonis/datadreamer:${{ github.event.release.tag_name }} .
docker push ghcr.io/luxonis/datadreamer --all-tags