Skip to content

stop rebuilding all images with every change #13

stop rebuilding all images with every change

stop rebuilding all images with every change #13

name: Dockerimage 1.4.x
on:
push:
branches:
- master
paths:
- "**-14x.yml"
- "Dockerfile.14x"
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.14x --tag zocker160/handbrake-nvenc:14x
docker push zocker160/handbrake-nvenc:14x