Skip to content

Docker build and deploy #182

Docker build and deploy

Docker build and deploy #182

Workflow file for this run

name: Docker build and deploy
on:
schedule:
# Daily at 1:15 am
- cron: '15 01 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: tools/docker/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nnstreamer:latest