Skip to content

Merge branch 'main' of github.com:rgregg/frigate-event-processor #5

Merge branch 'main' of github.com:rgregg/frigate-event-processor

Merge branch 'main' of github.com:rgregg/frigate-event-processor #5

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build the Docker image
run: docker build . --file Dockerfile --tag frigate-event-processor:$(date +%s)
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: rgregg/frigate-event-processor
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}