-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
P3-lowLow: extended features, operational docsLow: extended features, operational docsfollow-upFollow-up task from PR reviewFollow-up task from PR reviewfrom-reviewIssue originated from PR reviewIssue originated from PR review
Description
Context
This follow-up task was identified during the review of PR #162.
Source PR: #162
PR Title: ci: add Docker build job with image size validation
Suggested by: @claude[bot]
Task Description
The Docker build CI job runs from cold on every CI run — re-pulling node:20-alpine, golang:1.26-alpine base images, running npm ci, and go mod download each time. For a multi-stage build this adds up.
Implementation
Add docker/setup-buildx-action and use GitHub Actions cache:
- uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: tinkerdown:ci-test
build-args: |
VERSION=ci-test
BUILD_TIME=${{ ... }}
cache-from: type=gha
cache-to: type=gha,mode=maxBenefits
- Significantly faster CI builds after first run (cached layers)
- Reduced GitHub Actions compute time
This issue was automatically created by prmonitor from PR review comments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3-lowLow: extended features, operational docsLow: extended features, operational docsfollow-upFollow-up task from PR reviewFollow-up task from PR reviewfrom-reviewIssue originated from PR reviewIssue originated from PR review