Skip to content

chore: enable image cache for service-gcp CI job#612

Merged
liuwei08 merged 1 commit into
masterfrom
feat/enable-cache-service-gcp
Jun 22, 2026
Merged

chore: enable image cache for service-gcp CI job#612
liuwei08 merged 1 commit into
masterfrom
feat/enable-cache-service-gcp

Conversation

@sap-yuan

Copy link
Copy Markdown
Collaborator

Summary

Enable Docker layer cache for the ib/deploy/service-gcp CI job.

The job currently runs without cache (cache.image: false by default), causing it to re-download ~250MB of external dependencies on every build:

  • Google Cloud SDK 408.0.0 (155MB) from dl.google.com
  • kubectl + gcloud beta components (~100MB) via gcloud components install
  • Go dependencies via dep ensure (6 min)

All of these are pure environment layers unrelated to source code. With cache.image: true, Docker will reuse these layers across builds. The COPY . /go/src/... step still invalidates cache on any code change, so the latest code always enters the image correctly.

@sap-yuan sap-yuan self-assigned this Jun 18, 2026
@liuwei08 liuwei08 merged commit 8b09ef6 into master Jun 22, 2026
2 checks passed
@liuwei08 liuwei08 deleted the feat/enable-cache-service-gcp branch June 22, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants