Skip to content

Commit

Permalink
Create docker.projector.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah authored Jun 18, 2024
1 parent 4e40482 commit 9148a08
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/docker.projector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: docker build filebot-projector

on:
workflow_run:
workflows:
- 'docker build filebot'
types:
- 'completed'
push:
paths:
- '.github/workflows/docker.projector.yml'
- 'Dockerfile.projector'
- 'projector/**'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
file: Dockerfile.projector
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/filebot:projector
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 9148a08

Please sign in to comment.