Fix image names
This commit is contained in:
parent
cd6d7b2979
commit
b5eeea84a4
4 changed files with 9 additions and 18 deletions
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -15,12 +15,9 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
build_args: BUILDKIT_INLINE_CACHE=1
|
||||
repository: btbn/ffmpeg-build/base
|
||||
cache_froms: btbn/ffmpeg-build/base:latest
|
||||
tags: latest
|
||||
repository: btbn/ffmpeg-build/builder
|
||||
tags: base
|
||||
path: base
|
||||
always_pull: true
|
||||
build_target_bases:
|
||||
name: Build target base images
|
||||
needs: build_base
|
||||
|
@ -37,12 +34,9 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
build_args: BUILDKIT_INLINE_CACHE=1
|
||||
repository: btbn/ffmpeg-build/base-${{ matrix.target }}
|
||||
cache_froms: btbn/ffmpeg-build/base-${{ matrix.target }}:latest
|
||||
tags: latest
|
||||
repository: btbn/ffmpeg-build/builder
|
||||
tags: base-${{ matrix.target }}
|
||||
path: base-${{ matrix.target }}
|
||||
always_pull: true
|
||||
build_targets:
|
||||
name: Build target images
|
||||
needs: build_target_bases
|
||||
|
@ -62,8 +56,5 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
build_args: BUILDKIT_INLINE_CACHE=1
|
||||
repository: btbn/ffmpeg-build/${{ matrix.target }}-${{ matrix.variant }}
|
||||
cache_froms: btbn/ffmpeg-build/${{ matrix.target }}-${{ matrix.variant }}:latest
|
||||
tags: latest
|
||||
always_pull: true
|
||||
repository: btbn/ffmpeg-build/builder
|
||||
tags: ${{ matrix.target }}-${{ matrix.variant }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM btbn/ffmpeg-builds/base:latest
|
||||
FROM docker.pkg.github.com/btbn/ffmpeg-builds/builder:base
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ to_df() {
|
|||
echo >> Dockerfile
|
||||
}
|
||||
|
||||
to_df "FROM $REPO/base-$TARGET:latest"
|
||||
to_df "FROM $REPO/builder:base-$TARGET"
|
||||
to_df "ENV TARGET $TARGET"
|
||||
to_df "ENV VARIANT $VARIANT"
|
||||
to_df "ENV REPO $REPO"
|
||||
|
|
|
@ -7,7 +7,7 @@ fi
|
|||
|
||||
TARGET="$1"
|
||||
VARIANT="${2:-gpl}"
|
||||
REPO="${GITHUB_REPOSITORY:-btbn/ffmpeg-builds}"
|
||||
REPO="docker.pkg.github.com/${GITHUB_REPOSITORY:-btbn/ffmpeg-builds}"
|
||||
REPO="${REPO,,}"
|
||||
|
||||
IMAGE="$REPO/$TARGET-$VARIANT:latest"
|
||||
|
|
Loading…
Reference in a new issue