Skip to content

Commit

Permalink
add caching support to Docker build workflow for OpenGL
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-hanheide committed Jan 7, 2025
1 parent 1566f47 commit 98e8119
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-build-opengl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
file: ./nvidia.dockerfile
platforms: linux/amd64
push: true
load: true
cache-from: type=local,src=/tmp/cache
cache-to: type=local,src=/tmp/cache
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down Expand Up @@ -179,6 +182,9 @@ jobs:
file: ./nvidia.dockerfile
platforms: linux/arm64
push: true
load: true
cache-from: type=local,src=/tmp/cache
cache-to: type=local,src=/tmp/cache
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down

0 comments on commit 98e8119

Please sign in to comment.