Skip to content

Merge pull request #2 from wuast94/renovate/docker-build-push-action-5.x #3

Merge pull request #2 from wuast94/renovate/docker-build-push-action-5.x

Merge pull request #2 from wuast94/renovate/docker-build-push-action-5.x #3

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