Skip to content

Commit

Permalink
Github: Add gha caching to docker build action
Browse files Browse the repository at this point in the history
  • Loading branch information
qgerome committed Apr 12, 2022
1 parent ce04e03 commit 6fd987d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
tags: |
blsq/openhexa-frontend:${{ steps.version.outputs.number }}
blsq/openhexa-frontend:latest
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
"SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}"
"RELEASE=${{ steps.version.outputs.number }}"
Expand All @@ -58,6 +58,8 @@ jobs:
tags: |
blsq/openhexa-frontend:${{ github.event.inputs.tag }}
blsq/openhexa-frontend:latest
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
"SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}"
"RELEASE=${{ steps.version.outputs.number }}"

0 comments on commit 6fd987d

Please sign in to comment.