Skip to content

stop rebuilding all images with every change #10

stop rebuilding all images with every change

stop rebuilding all images with every change #10

name: Dockerimage 1.5.x
on:
push:
branches:
- master
paths:
- "**-15x.yml"
- "Dockerfile.15x"
jobs:
handbrake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
- name: Build the Docker image
env:
HUB_NAME: ${{ secrets.DOCKER_NAME }}
HUB_KEY: ${{ secrets.DOCKER_TOKEN }}
run: |
docker login -u $HUB_NAME -p $HUB_KEY
docker build . --pull --no-cache --file Dockerfile.15x --tag zocker160/handbrake-nvenc:15x
docker push zocker160/handbrake-nvenc:15x