Skip to content

Commit

Permalink
fix: pipeline cache setting for ecr builds (#37)
Browse files Browse the repository at this point in the history
* fix: pipeline cache setting for ecr builds

* fix: set commit sha for step

* fix: test cache-to setting

* fix: update sha ref

* fix: inf-2225 fix ci pipeline registry ecr cache
  • Loading branch information
andibeuge authored Jan 28, 2025
1 parent cd9bc5b commit dcc7bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
APP_NAME=${{ github.event.deployment.payload.name }}
ENVIRONMENT=${{ github.event.deployment.payload.env }}
NPM_GITHUB_TOKEN=${{ secrets.npmGithubReadToken }}
cache-from: type=registry,ref=${{ inputs.registryHostname }}/${{ github.event.deployment.payload.name }}
cache-from: type=registry,ref=${{ inputs.registryHostname }}/${{ github.event.deployment.payload.name }}:cache
cache-to: type=inline
context: ${{ github.event.deployment.payload.container.context }}
load: true
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
APP_NAME=${{ github.event.deployment.payload.name }}
ENVIRONMENT=${{ github.event.deployment.payload.env }}
NPM_GITHUB_TOKEN=${{ secrets.npmGithubReadToken }}
cache-from: type=registry,ref=${{ inputs.registryHostname }}/${{ github.event.deployment.payload.name }}
cache-from: type=registry,ref=${{ inputs.registryHostname }}/${{ github.event.deployment.payload.name }}:cache
cache-to: type=inline
context: ${{ github.event.deployment.payload.container.context }}
load: true
Expand Down

0 comments on commit dcc7bae

Please sign in to comment.