-
-
Notifications
You must be signed in to change notification settings - Fork 54
37 lines (33 loc) · 1.1 KB
/
BuildImageManually.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build Image with MakeMKV from manual build
on:
push:
paths-ignore:
- 'latest/**'
workflow_dispatch:
env:
ENDPOINT: "rix1337/docker-ripper"
jobs:
version-check:
runs-on: ubuntu-latest
outputs:
output: ${{ steps.get-version.outputs.version }}
steps:
- id: get-version
run: |
VERSION=$(curl --silent 'https://forum.makemkv.com/forum/viewtopic.php?f=3&t=224' | grep MakeMKV.*.for.Linux.is | head -n 1 | sed -e 's/.*MakeMKV //g' -e 's/ .*//g')
echo $VERSION
echo "version=$VERSION" >>$GITHUB_OUTPUT
build:
runs-on: ubuntu-latest
needs: version-check
steps:
- uses: actions/checkout@v4
- uses: whoan/docker-build-with-cache-action@v6
with:
username: "${{ secrets.DOCKERUSER }}"
password: "${{ secrets.DOCKERPASS }}"
image_name: "${{ env.ENDPOINT }}"
image_tag: manual-latest,${{needs.version-check.outputs.output}}
context: "./"
dockerfile: "./manual-build/Dockerfile"
stages_image_name: "rix1337/cache-ripper-manual-build"