attempt to use buildx cache
All checks were successful
CI / Build docker images (push) Successful in 6m17s

This commit is contained in:
2024-05-27 20:26:59 +08:00
parent 4d6bbc6dad
commit ce7b43a48d
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ on:
push:
branches: [ master ]
jobs:
docker:
"Build docker images":
runs-on: woryzen
steps:
-
@@ -12,6 +12,8 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker
-
name: Login to Gitea container registry
uses: docker/login-action@v3
@@ -27,8 +29,6 @@ jobs:
platforms: linux/amd64
push: true
tags: gitea.woggioni.net/woggioni/jupyter-python:latest
# cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-python:buildcache
# cache-to: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-python:buildcache,mode=max
-
name: Build and push jupyter-ganymede image
uses: docker/build-push-action@v5.3.0