Skip to content

Commit

Permalink
attempt github registry cache #3
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Sep 20, 2022
1 parent 3c0f4cf commit 8b87b2c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ jobs:
load: false
workdir: compose
set: |
neurosynth.tags=neurosynth:${{ github.ref_name }}
neurosynth.cache-from=type=registry,ref=neurosynth:${{ github.ref_name }}
neurosynth.tags=neurosynth:${{ hashFiles('**/compose/neurosynth/**') }}
neurosynth.cache-from=type=registry,ref=neurosynth:${{ hashFiles('**/compose/neurosynth/**') }}
neurosynth.cache-from=type=gha
neurosynth.cache-to=type=gha
nginx.tags=nginx:${{ github.ref_name }}
nginx.cache-from=type=registry,ref=nginx:${{ github.ref_name }}
nginx.tags=nginx:${{ hashFiles('**/compose/nginx/**') }}
nginx.cache-from=type=registry,ref=nginx:${{ hashFiles('**/compose/nginx/**') }}
nginx.cache-from=type=gha
nginx.cache-to=type=gha
synth_pgsql.tags=synth_pgsql:${{ github.ref_name }}
synth_pgsql.cache-from=type=registry,ref=synth_pgsql:${{ github.ref_name }}
synth_pgsql.tags=synth_pgsql:${{ hashFiles('**/compose/postgres/**') }}
synth_pgsql.cache-from=type=registry,ref=synth_pgsql:${{ hashFiles('**/compose/postgres/**') }}
synth_pgsql.cache-from=type=gha
synth_pgsql.cache-to=type=gha
Expand Down Expand Up @@ -83,15 +83,16 @@ jobs:
load: false
workdir: store
set: |
neurostore.tags=neurostore:${{ github.ref_name }}
neurostore.tags=neurostore:${{ hashFiles('**/store/neurostore/**') }}
neurostore.cache-from=type=registry,ref=neurostore:${{ hashFiles('**/store/neurostore/**') }}
neurostore.cache-from=type=gha
neurostore.cache-to=type=gha
nginx.tags=nginx:${{ github.ref_name }}
nginx.cache-from=type=registry,ref=nginx:${{ github.ref_name }}
nginx.tags=nginx:${{ hashFiles('**/store/nginx/**') }}
nginx.cache-from=type=registry,ref=nginx:${{ hashFiles('**/store/nginx/**') }}
nginx.cache-from=type=gha
nginx.cache-to=type=gha
store_pgsql.tags=store_pgsql:${{ github.ref_name }}
store_pgsql.cache-from=type=registry,ref=store_pgsql:${{ github.ref_name }}
store_pgsql.tags=store_pgsql:${{ hashFiles('**/store/postgres/**') }}
store_pgsql.cache-from=type=registry,ref=store_pgsql:${{ hashFiles('**/store/postgres/**') }}
store_pgsql.cache-from=type=gha
store_pgsql.cache-to=type=gha
Expand Down

0 comments on commit 8b87b2c

Please sign in to comment.