mirror of
https://github.com/docker/build-push-action.git
synced 2025-08-10 02:22:11 +00:00
The remote builder was hardcoded to use --platform linux/amd64 regardless of user input or runner architecture. This caused performance issues on ARM runners and cache inefficiencies. Now properly uses the platforms input or detects host architecture to avoid unnecessary QEMU emulation and improve build performance. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "docker-build-push",
|
|
"description": "Build and push Docker images",
|
|
"main": "src/main.ts",
|
|
"scripts": {
|
|
"build": "ncc build --source-map --minify --license licenses.txt",
|
|
"lint": "yarn run prettier && yarn run eslint",
|
|
"format": "yarn run prettier:fix && yarn run eslint:fix",
|
|
"eslint": "eslint --max-warnings=0 .",
|
|
"eslint:fix": "eslint --fix .",
|
|
"prettier": "prettier --check \"./**/*.ts\"",
|
|
"prettier:fix": "prettier --write \"./**/*.ts\"",
|
|
"test": "jest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/docker/build-push-action.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"docker",
|
|
"build",
|
|
"push"
|
|
],
|
|
"author": "Docker Inc.",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@3.6.3",
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.1",
|
|
"@buf/blacksmith_vm-agent.connectrpc_es": "^1.6.1-20250304023716-e8d233d92eac.2",
|
|
"@connectrpc/connect": "^1.6.1",
|
|
"@connectrpc/connect-node": "^1.6.1",
|
|
"@docker/actions-toolkit": "0.37.1",
|
|
"@iarna/toml": "^2.2.5",
|
|
"axios-retry": "^4.5.0",
|
|
"execa": "^9.5.2",
|
|
"form-data": "^4.0.1",
|
|
"handlebars": "^4.7.7",
|
|
"portfinder": "^1.0.32"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.10",
|
|
"@babel/preset-env": "^7.27.2",
|
|
"@babel/preset-typescript": "^7.27.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^20.12.12",
|
|
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
"@typescript-eslint/parser": "^7.9.0",
|
|
"@vercel/ncc": "^0.38.1",
|
|
"babel-jest": "^29.7.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-jest": "^28.5.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.2.5",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.5.4"
|
|
}
|
|
}
|