Skip to content

Commit

Permalink
Repeat the build
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus committed Jul 20, 2024
1 parent e5b2f1f commit d365dc9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/builder-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
load: true
no-cache: true
cache-to: type=inline,mode=max
cache-to: type=inline

- name: Build builder w/cache image
uses: docker/build-push-action@v6
Expand All @@ -78,8 +78,7 @@ jobs:
load: true
cache-from: |
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder-with-cache
cache-to: type=inline,mode=max
cache-to: type=inline

- name: Push builder image
uses: docker/build-push-action@v6
Expand All @@ -93,7 +92,7 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
push: true
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
cache-to: type=inline,mode=max
cache-to: type=inline

- name: Push builder-with-cache image
uses: docker/build-push-action@v6
Expand All @@ -109,4 +108,4 @@ jobs:
cache-from: |
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.AUTOWARE_VERSION }}-builder-with-cache
cache-to: type=inline,mode=max
cache-to: type=inline

0 comments on commit d365dc9

Please sign in to comment.