Skip to content

Commit

Permalink
fix(CI): Use the registry to cache the layers
Browse files Browse the repository at this point in the history
  • Loading branch information
qgerome committed Apr 18, 2024
1 parent a58bfae commit 2d40ba0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
context: .
target: app
file: Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=registry,ref=blsq/openhexa-app:buildcache
cache-to: type=registry,ref=blsq/openhexa-app:buildcache,mode=max
tags: |
blsq/openhexa-app:${{ steps.version.outputs.number }}
blsq/openhexa-app:latest
Expand All @@ -106,8 +106,8 @@ jobs:
context: .
target: app
file: Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=registry,ref=blsq/openhexa-app:buildcache
cache-to: type=registry,ref=blsq/openhexa-app:buildcache,mode=max
tags: |
blsq/openhexa-app:${{ github.event.inputs.tag }}
blsq/openhexa-app:latest

0 comments on commit 2d40ba0

Please sign in to comment.