mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-04-19 15:11:22 +00:00
If updated docker image is present in docker env then docker image won't get used if image same name and tag is already present in podman env. To fix this, selected latest built image and removed the image at the end from the podman env if image is pulled from docker env. Signed-off-by: divyansh42 <diagrawa@redhat.com>
29 lines
814 B
JSON
29 lines
814 B
JSON
{
|
|
"name": "push-to-registry",
|
|
"version": "0.0.1",
|
|
"description": "Action to push images to registry",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"compile": "tsc -p .",
|
|
"bundle": "ncc build src/index.ts --source-map --minify",
|
|
"clean": "rm -rf out/ dist/",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "Red Hat",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.4",
|
|
"@actions/io": "^1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@tetchel/eslint-config-actions": "0.0.8",
|
|
"@types/node": "^12.12.7",
|
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
"@typescript-eslint/parser": "^4.13.0",
|
|
"@vercel/ncc": "^0.25.1",
|
|
"eslint": "^7.17.0",
|
|
"typescript": "^4.0.5"
|
|
}
|
|
}
|