Skip to content

Commit

Permalink
chore: put back caching from the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
qgerome committed Aug 22, 2024
1 parent b80b116 commit 0055b19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
tags: |
blsq/openhexa-base-environment:${{ steps.version.outputs.number || 'main' }}
blsq/openhexa-base-environment:latest
# cache-from: type=registry,ref=blsq/openhexa-base-environment:buildcache
# cache-to: type=registry,ref=blsq/openhexa-base-environment:buildcache,mode=max
cache-from: type=registry,ref=blsq/openhexa-base-environment:buildcache
cache-to: type=registry,ref=blsq/openhexa-base-environment:buildcache,mode=max

- name: Build and push "legacy" image
uses: docker/build-push-action@v6
Expand All @@ -46,8 +46,8 @@ jobs:
tags: |
blsq/openhexa-legacy-environment:${{ steps.version.outputs.number || 'main' }}
blsq/openhexa-legacy-environment:latest
# cache-from: type=registry,ref=blsq/openhexa-legacy-environment:buildcache
# cache-to: type=registry,ref=blsq/openhexa-legacy-environment:buildcache,mode=max
cache-from: type=registry,ref=blsq/openhexa-legacy-environment:buildcache
cache-to: type=registry,ref=blsq/openhexa-legacy-environment:buildcache,mode=max

- name: Build and push "blsq" image
uses: docker/build-push-action@v6
Expand All @@ -57,5 +57,5 @@ jobs:
tags: |
blsq/openhexa-blsq-environment:${{ steps.version.outputs.number || 'main' }}
blsq/openhexa-blsq-environment:latest
# cache-from: type=registry,ref=blsq/openhexa-blsq-environment:buildcache
# cache-to: type=registry,ref=blsq/openhexa-blsq-environment:buildcache,mode=max
cache-from: type=registry,ref=blsq/openhexa-blsq-environment:buildcache
cache-to: type=registry,ref=blsq/openhexa-blsq-environment:buildcache,mode=max

0 comments on commit 0055b19

Please sign in to comment.