Skip to content

Merge pull request #4 from wuast94/renovate/docker-login-action-3.x #8

Merge pull request #4 from wuast94/renovate/docker-login-action-3.x

Merge pull request #4 from wuast94/renovate/docker-login-action-3.x #8

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@v3
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