Skip to content

Update Dockerfile to install ffmpeg, Python, and necessary developmen… #7

Update Dockerfile to install ffmpeg, Python, and necessary developmen…

Update Dockerfile to install ffmpeg, Python, and necessary developmen… #7

name: Build and Push Docker image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/nodered-ffmpeg:3.1.9
platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64