Dockerimage nightly #215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dockerimage nightly | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**-nightly.yml" | |
- "Dockerfile.latest" | |
schedule: | |
- cron: '0 3 * * *' | |
workflow_dispatch: | |
jobs: | |
handbrake: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: 'dev' | |
- 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 --tag zocker160/handbrake-nvenc:nightly | |
docker push zocker160/handbrake-nvenc:nightly |