Skip to content

feat: Add --pull and --no-cache flags to Docker build#296

Merged
darshannaik19 merged 1 commit intomasterfrom
HII-12617
Feb 16, 2026
Merged

feat: Add --pull and --no-cache flags to Docker build#296
darshannaik19 merged 1 commit intomasterfrom
HII-12617

Conversation

@darshannaik19
Copy link
Copy Markdown
Contributor

Description

This PR updates the Docker build command in the staging deployment workflow to include --pull and --no-cache flags.

Changes

  • Added --pull flag to always pull the latest version of the base image
  • Added --no-cache flag to ensure builds don't use cached layers

Benefits

  • Ensures every build uses the latest base image (node:24-alpine3.23) with newest security patches
  • Prevents stale cache issues that could lead to outdated dependencies
  • Guarantees consistent, reproducible builds

Jira

HII-12617

Ensures Docker always pulls the latest base image and doesn't use cache.
This guarantees fresh builds with latest security patches.

Jira: HII-12617
@darshannaik19 darshannaik19 merged commit 2e16980 into master Feb 16, 2026
1 check passed
@darshannaik19 darshannaik19 deleted the HII-12617 branch February 16, 2026 03:59
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.

3 participants