Skip to content

Merge pull request #1 from wuast94/renovate/actions-checkout-4.x #4

Merge pull request #1 from wuast94/renovate/actions-checkout-4.x

Merge pull request #1 from wuast94/renovate/actions-checkout-4.x #4

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 Docker Buildx
uses: docker/setup-buildx-action@v1
- 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