Skip to content

Commit

Permalink
Adding caching
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrink committed Dec 3, 2023
1 parent 71ebe2b commit 1e9cab3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/${{github.repository}}
ghcr.io/${{github.repository}}
# generate Docker tags based on the following events/attributes
tags: |
# set dev tag for default branch
Expand All @@ -49,4 +49,6 @@ jobs:
platforms: linux/arm/v7,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/${{github.repository}}:latest
cache-to: type=inline
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
platforms: linux/arm/v7,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/${{github.repository}}:latest
cache-to: type=inline

0 comments on commit 1e9cab3

Please sign in to comment.