Compare commits

..

No commits in common. "b32b51a8eda65d6793cd0494a773d4f6bcef32dc" and "7e094594beda23fc8f21fa31049f4b203e51096b" have entirely different histories.

6 changed files with 11 additions and 17 deletions

View File

@ -65,11 +65,10 @@ jobs:
if: inputs.type == 'local'
run: |
if [ ! -e /etc/docker/daemon.json ]; then
echo '{}' | sudo tee /etc/docker/daemon.json >/dev/null
echo '{}' | tee /etc/docker/daemon.json >/dev/null
fi
DOCKERD_CONFIG=$(jq '.+{"insecure-registries":["http://${{ env.REGISTRY_FQDN }}"]}' /etc/docker/daemon.json)
sudo tee /etc/docker/daemon.json <<<"$DOCKERD_CONFIG" >/dev/null
cat /etc/docker/daemon.json
sudo service docker restart
-
name: Install ${{ inputs.name }}

4
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -27,7 +27,7 @@
"packageManager": "yarn@3.6.3",
"dependencies": {
"@actions/core": "^1.11.1",
"@docker/actions-toolkit": "0.49.0",
"@docker/actions-toolkit": "0.46.0",
"handlebars": "^4.7.7"
},
"devDependencies": {

View File

@ -132,12 +132,7 @@ async function getBuildArgs(inputs: Inputs, context: string, toolkit: Toolkit):
});
if (await toolkit.buildx.versionSatisfies('>=0.8.0')) {
await Util.asyncForEach(inputs['build-contexts'], async buildContext => {
args.push(
'--build-context',
handlebars.compile(buildContext)({
defaultContext: Context.gitContext()
})
);
args.push('--build-context', buildContext);
});
} else if (inputs['build-contexts'].length > 0) {
core.warning("Build contexts are only supported by buildx >= 0.8.0; the input 'build-contexts' is ignored.");

View File

@ -1073,9 +1073,9 @@ __metadata:
languageName: node
linkType: hard
"@docker/actions-toolkit@npm:0.49.0":
version: 0.49.0
resolution: "@docker/actions-toolkit@npm:0.49.0"
"@docker/actions-toolkit@npm:0.46.0":
version: 0.46.0
resolution: "@docker/actions-toolkit@npm:0.46.0"
dependencies:
"@actions/artifact": ^2.1.11
"@actions/cache": ^3.3.0
@ -1098,7 +1098,7 @@ __metadata:
semver: ^7.6.3
tar-stream: ^3.1.7
tmp: ^0.2.3
checksum: 5e945601180002f129f095bba2d7d938b5ca69e87631d5e96a0d3b2254a8b034ab4bafbf7582ea82995e39610ad00fd68b34ab5875b9b314690328f714ad79d0
checksum: cd34682d1b801c17c81f7f6791c4c81a69018f02413a1f7a7c2c1086bf0ee98c9afb5b44e6d5b8827df188819913eec47fa5b54b63f522b4a87c216de0b5725f
languageName: node
linkType: hard
@ -3161,7 +3161,7 @@ __metadata:
resolution: "docker-build-push@workspace:."
dependencies:
"@actions/core": ^1.11.1
"@docker/actions-toolkit": 0.49.0
"@docker/actions-toolkit": 0.46.0
"@types/node": ^20.12.12
"@typescript-eslint/eslint-plugin": ^7.9.0
"@typescript-eslint/parser": ^7.9.0