Use harbor
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
git.pollinger.dev/public/texlive
|
harbor.pollinger.dev/public/latex-build-container
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.flavor == 'default' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.flavor == 'default' }}
|
||||||
type=raw,value=${{ matrix.flavor }},enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=${{ matrix.flavor }},enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
@@ -52,5 +52,5 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=registry,ref=git.pollinger.dev/public/texlive:build-cache-${{ matrix.flavor }}
|
cache-from: type=registry,ref=harbor.pollinger.dev/build-cache/latex-build-container:${{ matrix.flavor }}
|
||||||
cache-to: mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=git.pollinger.dev/public/texlive:build-cache-${{ matrix.flavor }}
|
cache-to: mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=harbor.pollinger.dev/build-cache/latex-build-container:${{ matrix.flavor }}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM texlive/texlive:latest AS default
|
FROM harbor.pollinger.dev/mirror/texlive:latest AS default
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install graphviz nodejs -y
|
RUN apt install graphviz nodejs -y
|
||||||
RUN luaotfload-tool --update
|
RUN luaotfload-tool --update
|
||||||
|
|||||||
Reference in New Issue
Block a user