This commit is contained in:
@@ -4,6 +4,8 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: woryzen
|
runs-on: woryzen
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
@@ -27,8 +29,8 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.woggioni.net/woggioni/jupyter-python:latest
|
tags: gitea.woggioni.net/woggioni/jupyter-python:latest
|
||||||
# cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-python:buildcache
|
cache-from: type=local,dest=.cache/buildx
|
||||||
# cache-to: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-python:buildcache,mode=max
|
cache-to: type=local,src=.cache/buildx,mode=max
|
||||||
-
|
-
|
||||||
name: Build and push jupyter-ganymede image
|
name: Build and push jupyter-ganymede image
|
||||||
uses: docker/build-push-action@v5.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
@@ -37,3 +39,12 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.woggioni.net/woggioni/jupyter-ganymede:latest
|
tags: gitea.woggioni.net/woggioni/jupyter-ganymede:latest
|
||||||
|
cache-from: type=local,dest=~/.cache/buildx
|
||||||
|
cache-to: type=local,src=~/.cache/buildx,mode=max
|
||||||
|
- name: Cache Buildx cache
|
||||||
|
uses: actions/cache@v4.0.2
|
||||||
|
with:
|
||||||
|
path: ~/.cache/buildx
|
||||||
|
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-buildx-
|
Reference in New Issue
Block a user