Skip to content

Commit

Permalink
update workflows for 1.7.x
Browse files Browse the repository at this point in the history
see #14
  • Loading branch information
zocker-160 committed Jan 2, 2024
1 parent 0e97ca5 commit d0d7ba6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/dockerimage-16x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
env:
HUB_NAME: ${{ secrets.DOCKER_NAME }}
HUB_KEY: ${{ secrets.DOCKER_TOKEN }}
run: |
run: |
docker login -u $HUB_NAME -p $HUB_KEY
docker build . --pull --no-cache --file Dockerfile --tag zocker160/handbrake-nvenc:latest
docker build . --pull --no-cache --file Dockerfile.16x --tag zocker160/handbrake-nvenc:16x
docker tag zocker160/handbrake-nvenc:latest zocker160/handbrake-nvenc:16x
docker push zocker160/handbrake-nvenc:latest
docker push zocker160/handbrake-nvenc:16x
27 changes: 27 additions & 0 deletions .github/workflows/dockerimage-17x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dockerimage 1.7.x

on:
push:
branches:
- master

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 --tag zocker160/handbrake-nvenc:latest
docker tag zocker160/handbrake-nvenc:latest zocker160/handbrake-nvenc:16x
docker push zocker160/handbrake-nvenc:latest
docker push zocker160/handbrake-nvenc:17x

0 comments on commit d0d7ba6

Please sign in to comment.