@docker/github-builder-runtime 0.106.0 → 0.108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/docker/assets.d.ts +3 -3
- package/lib/docker/assets.js +14 -11
- package/lib/docker/assets.js.map +1 -1
- package/lib/github-builder/build-output.d.ts +33 -0
- package/lib/github-builder/build-output.js +54 -0
- package/lib/github-builder/build-output.js.map +1 -0
- package/lib/github-builder/source-date-epoch.d.ts +27 -0
- package/lib/github-builder/source-date-epoch.js +40 -0
- package/lib/github-builder/source-date-epoch.js.map +1 -0
- package/npm-shrinkwrap.json +71 -44
- package/package.json +3 -2
package/lib/docker/assets.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
export declare const setupDockerWinPs1: () => string;
|
|
17
17
|
export declare const dockerServiceLogsPs1: () => string;
|
|
18
18
|
export declare const limaYaml: () => string;
|
|
19
|
-
export declare const limaUndockVersion = "0.14.
|
|
20
|
-
export declare const setupDockerWinPs1Data = "\n[CmdletBinding()]\nparam(\n [Parameter(Mandatory = $true)]\n [string]$ToolDir,\n\n [Parameter(Mandatory = $true)]\n [string]$RunDir,\n\n [Parameter(Mandatory = $true)]\n [string]$DockerHostSocket,\n\n [Parameter(Mandatory = $false)]\n [string]$DockerHostTCP,\n\n [Parameter(Mandatory = $false)]\n [string]$DaemonConfig)\n\n$pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion\nWrite-Host \"PowerShell version: $pwver\"\n\n# Create run directory\nNew-Item -ItemType Directory \"$RunDir\" -ErrorAction SilentlyContinue | Out-Null\n\n# Remove existing service\nif (Get-Service docker -ErrorAction SilentlyContinue) {\n $dockerVersion = (docker version -f \"{{.Server.Version}}\")\n Write-Host \"Current installed Docker version: $dockerVersion\"\n # stop service\n Stop-Service -Force -Name docker\n Write-Host \"Service stopped\"\n # remove service\n sc.exe delete \"docker\"\n # removes event log entry. we could use \"Remove-EventLog -LogName -Source docker\"\n # but this cmd is not available atm\n $ErrorActionPreference = \"SilentlyContinue\"\n & reg delete \"HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker\" /f 2>&1 | Out-Null\n $ErrorActionPreference = \"Stop\"\n Write-Host \"Service removed\"\n}\n\n$env:Path = \"$ToolDir;\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\") + \";\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"User\")\nWrite-Host \"Path: $env:Path\"\n\n$env:DOCKER_HOST = $DockerHostSocket\nWrite-Host \"DOCKER_HOST: $env:DOCKER_HOST\"\n\nif ($DaemonConfig) {\n Write-Host \"Writing Docker daemon config\"\n
|
|
19
|
+
export declare const limaUndockVersion = "0.14.1";
|
|
20
|
+
export declare const setupDockerWinPs1Data = "\n[CmdletBinding()]\nparam(\n [Parameter(Mandatory = $true)]\n [string]$ToolDir,\n\n [Parameter(Mandatory = $true)]\n [string]$RunDir,\n\n [Parameter(Mandatory = $true)]\n [string]$DockerHostSocket,\n\n [Parameter(Mandatory = $false)]\n [string]$DockerHostTCP,\n\n [Parameter(Mandatory = $false)]\n [string]$DaemonConfig)\n\n$pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion\nWrite-Host \"PowerShell version: $pwver\"\n\n# Create run directory\nNew-Item -ItemType Directory \"$RunDir\" -ErrorAction SilentlyContinue | Out-Null\n\n# Remove existing service\nif (Get-Service docker -ErrorAction SilentlyContinue) {\n $dockerVersion = (docker version -f \"{{.Server.Version}}\")\n Write-Host \"Current installed Docker version: $dockerVersion\"\n # stop service\n Stop-Service -Force -Name docker\n Write-Host \"Service stopped\"\n # remove service\n sc.exe delete \"docker\"\n # removes event log entry. we could use \"Remove-EventLog -LogName -Source docker\"\n # but this cmd is not available atm\n $ErrorActionPreference = \"SilentlyContinue\"\n & reg delete \"HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker\" /f 2>&1 | Out-Null\n $ErrorActionPreference = \"Stop\"\n Write-Host \"Service removed\"\n}\n\n$env:Path = \"$ToolDir;\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\") + \";\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"User\")\nWrite-Host \"Path: $env:Path\"\n\n$env:DOCKER_HOST = $DockerHostSocket\nWrite-Host \"DOCKER_HOST: $env:DOCKER_HOST\"\n\nif ($DaemonConfig) {\n Write-Host \"Writing Docker daemon config\"\n $daemonConfigPath = \"$RunDir\\daemon.json\"\n [System.IO.File]::WriteAllText($daemonConfigPath, $DaemonConfig, (New-Object System.Text.UTF8Encoding($false)))\n}\n\n$arguments = @(\n \"--host=$DockerHostSocket\",\n \"--data-root=$RunDir\\\\moby-root\",\n \"--exec-root=$RunDir\\\\moby-exec\",\n \"--pidfile=$RunDir\\\\docker.pid\",\n \"--register-service\"\n)\nif ($DaemonConfig) {\n $arguments += '--config-file=\"' + $daemonConfigPath + '\"'\n}\nif ($DockerHostTCP) {\n $arguments += \"--host=$DockerHostTCP\"\n}\n\nWrite-Host \"Creating service\"\nNew-Item -ItemType Directory \"$RunDir\\moby-root\" -ErrorAction SilentlyContinue | Out-Null\nNew-Item -ItemType Directory \"$RunDir\\moby-exec\" -ErrorAction SilentlyContinue | Out-Null\nStart-Process -Wait -NoNewWindow \"$ToolDir\\dockerd\" -ArgumentList $arguments\nWrite-Host \"Starting service\"\nStart-Service -Name docker\nWrite-Host \"Service started successfully!\"\n\n$tries=20\nWrite-Host \"Waiting for Docker daemon to start...\"\nWhile ($true) {\n $ErrorActionPreference = \"SilentlyContinue\"\n & \"$ToolDir\\docker\" version | Out-Null\n $ErrorActionPreference = \"Stop\"\n If ($LastExitCode -eq 0) {\n break\n }\n $tries--\n If ($tries -le 0) {\n Throw \"Failed to get a response from Docker daemon\"\n }\n Write-Host -NoNewline \".\"\n Start-Sleep -Seconds 1\n}\nWrite-Host \"Docker daemon started successfully!\"\n";
|
|
21
21
|
export declare const dockerServiceLogsPs1Data = "\nGet-WinEvent -ea SilentlyContinue `\n -FilterHashtable @{ProviderName= \"docker\"; LogName = \"application\"} |\n Sort-Object @{Expression=\"TimeCreated\";Descending=$false} |\n ForEach-Object {\"$($_.TimeCreated.ToUniversalTime().ToString(\"o\")) [$($_.LevelDisplayName)] $($_.Message)\"}\n";
|
|
22
|
-
export declare const limaYamlData = "\n# Source:\n# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml\n\n# VM type: \"qemu\" or \"vz\" (on macOS 13 and later).\n# The vmType can be specified only on creating the instance.\n# The vmType of existing instances cannot be changed.\n# Builtin default: \"qemu\"\nvmType: qemu\n\n# OS: \"Linux\".\n# Builtin default: \"Linux\"\nos: null\n\n# Arch: \"default\", \"x86_64\", \"aarch64\".\n# Builtin default: \"default\" (corresponds to the host architecture)\narch: null\n\nimages:\n{{#each customImages}}\n- location: \"{{location}}\"\n arch: \"{{arch}}\"\n digest: \"{{digest}}\"\n{{/each}}\n- location: \"https://cloud-images.ubuntu.com/releases/noble/release-
|
|
22
|
+
export declare const limaYamlData = "\n# Source:\n# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml\n\n# VM type: \"qemu\" or \"vz\" (on macOS 13 and later).\n# The vmType can be specified only on creating the instance.\n# The vmType of existing instances cannot be changed.\n# Builtin default: \"qemu\"\nvmType: qemu\n\n# OS: \"Linux\".\n# Builtin default: \"Linux\"\nos: null\n\n# Arch: \"default\", \"x86_64\", \"aarch64\".\n# Builtin default: \"default\" (corresponds to the host architecture)\narch: null\n\nimages:\n{{#each customImages}}\n- location: \"{{location}}\"\n arch: \"{{arch}}\"\n digest: \"{{digest}}\"\n{{/each}}\n- location: \"https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-amd64.img\"\n arch: \"x86_64\"\n digest: \"sha256:04e8f2461a16a44e78a370284471f29616cdd9baf1893df25807b71f985b6c94\"\n kernel:\n location: \"https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic\"\n digest: \"sha256:41ba36d860aa0b0cd995f4ca8856d80249b244577e704929b55be13fbd1ebd2f\"\n cmdline: \"root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check\"\n initrd:\n location: \"https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic\"\n digest: \"sha256:bf276ffc12872256080890698b42db0dc9c5a469c896d8b59af6bc4e723cd186\"\n- location: \"https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-arm64.img\"\n arch: \"aarch64\"\n digest: \"sha256:50e24e1fb79e89116e939d90aa7738f7af48c442fa1bc2510131e0b39c50348e\"\n# Fallback to the latest release image.\n# Hint: run `limactl prune` to invalidate the cache\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img\n arch: \"x86_64\"\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img\n arch: \"aarch64\"\n\n# CPUs\n# Builtin default: min(4, host CPU cores)\ncpus: null\n\n# Memory size\n# Builtin default: min(\"4GiB\", half of host memory)\nmemory: null\n\n# Disk size\n# Builtin default: \"100GiB\"\ndisk: 60GiB\n\n# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest\n# Builtin default: null (Mount nothing)\n# This file: Mount the home as read-only, /tmp/lima as writable\nmounts:\n- location: \"~\"\n- location: \"/tmp/lima\"\n writable: true\n\n# Mount type for above mounts, such as \"reverse-sshfs\" (from sshocker), \"9p\" (EXPERIMENTAL, from QEMU\u2019s virtio-9p-pci, aka virtfs),\n# or \"virtiofs\" (EXPERIMENTAL, needs `vmType: vz`)\n# Builtin default: \"reverse-sshfs\" (for QEMU), \"virtiofs\" (for vz)\nmountType: null\n\ncontainerd:\n system: false\n user: false\n\nprovision:\n- mode: system\n # This script defines the host.docker.internal hostname when hostResolver is disabled.\n # It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts.\n # Names defined in /etc/hosts inside the VM are not resolved inside containers when\n # using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later).\n script: |\n #!/bin/sh\n sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts\n- mode: system\n script: |\n #!/bin/sh\n apt-get install -f -y iptables\n- mode: system\n script: |\n #!/bin/bash\n set -eux -o pipefail\n archiveInstallLog=/var/log/docker-actions-toolkit-archive-install.log\n command -v docker >/dev/null 2>&1 && exit 0\n if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then\n mkdir -p /etc/systemd/system/docker.socket.d\n # Alternatively we could just add the user to the \"docker\" group, but that requires restarting the user session\n cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf\n [Socket]\n SocketUser=${LIMA_CIDATA_USER}\n EOF\n fi\n if [ ! -e /etc/docker/daemon.json ]; then\n mkdir -p /etc/docker\n cat <<-EOF >/etc/docker/daemon.json\n {{stringify daemonConfig}}\n EOF\n fi\n export DEBIAN_FRONTEND=noninteractive\n if [ \"{{srcType}}\" == \"archive\" ]; then\n {\n getDockerScript=$(mktemp)\n curl --retry 3 --retry-all-errors --retry-delay 5 -fsSL -o \"$getDockerScript\" https://get.docker.com\n\n attempt=1\n max_attempts=3\n until [ \"$attempt\" -gt \"$max_attempts\" ]; do\n echo \"Docker install attempt $attempt/$max_attempts\"\n if sh \"$getDockerScript\" --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}; then\n break\n fi\n if [ \"$attempt\" -eq \"$max_attempts\" ]; then\n echo >&2 \"Docker install failed after $max_attempts attempts\"\n exit 1\n fi\n echo >&2 \"Docker install attempt $attempt failed, retrying after $((attempt * 30))s\"\n rm -rf /var/lib/apt/lists/partial/* || true\n apt-get clean || true\n sleep $((attempt * 30))\n attempt=$((attempt + 1))\n done\n\n sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service\n systemctl daemon-reload\n systemctl restart docker\n systemctl status docker.socket || true\n systemctl status docker.service || true\n } 2>&1 | tee \"$archiveInstallLog\"\n elif [ \"{{srcType}}\" == \"image\" ]; then\n arch=$(uname -m)\n case $arch in\n x86_64) arch=amd64;;\n aarch64) arch=arm64;;\n esac\n url=\"https://github.com/crazy-max/undock/releases/download/v{{undockVersion}}/undock_{{undockVersion}}_linux_$arch.tar.gz\"\n\n wget \"$url\" -O /tmp/undock.tar.gz\n tar -C /usr/local/bin -xvf /tmp/undock.tar.gz\n undock --version\n\n HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin\n\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket\n\n sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service\n sed -i 's|containerd.service||' /etc/systemd/system/docker.service\n if ! getent group docker; then\n groupadd --system docker\n fi\n systemctl daemon-reload\n fail=0\n if ! systemctl enable --now docker; then\n fail=1\n fi\n systemctl status docker.socket || true\n systemctl status docker.service || true\n exit $fail\n fi\n\nprobes:\n- script: |\n #!/bin/bash\n set -eux -o pipefail\n # Don't check for docker CLI as it's not installed in the VM (only on the host)\n if ! timeout 60s bash -c \"until pgrep dockerd; do sleep 3; done\"; then\n echo >&2 \"dockerd is not running\"\n exit 1\n fi\n hint: See \"/var/log/cloud-init-output.log\". in the guest\n\nhostResolver:\n # Don't use local system resolver\n enabled: false\n # hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also\n # resolve inside containers, and not just inside the VM itself.\n hosts:\n host.docker.internal: host.lima.internal\n\n# Use custom DNS servers instead of the host's DNS settings\ndns:\n - 1.1.1.1\n - 1.0.0.1\n\nportForwards:\n- guestSocket: \"/var/run/docker.sock\"\n hostSocket: \"{{dockerSock}}\"\n{{#if localTCPPort}}\n- guestPort: 2375\n hostPort: {{localTCPPort}}\n{{/if}}\n\naudio:\n # EXPERIMENTAL\n # QEMU audiodev, e.g., \"none\", \"coreaudio\", \"pa\", \"alsa\", \"oss\".\n # VZ driver, use \"vz\" as device name\n # Choosing \"none\" will mute the audio output, and not play any sound.\n # Builtin default: \"\"\n device: none\n";
|
package/lib/docker/assets.js
CHANGED
|
@@ -24,7 +24,7 @@ export const dockerServiceLogsPs1 = () => {
|
|
|
24
24
|
export const limaYaml = () => {
|
|
25
25
|
return get('lima.yaml', limaYamlData);
|
|
26
26
|
};
|
|
27
|
-
export const limaUndockVersion = '0.14.
|
|
27
|
+
export const limaUndockVersion = '0.14.1';
|
|
28
28
|
const get = (filename, data, mode) => {
|
|
29
29
|
const assetPath = Context.tmpName({
|
|
30
30
|
template: `docker-asset-XXXXXX-${filename}`,
|
|
@@ -85,8 +85,8 @@ Write-Host "DOCKER_HOST: $env:DOCKER_HOST"
|
|
|
85
85
|
|
|
86
86
|
if ($DaemonConfig) {
|
|
87
87
|
Write-Host "Writing Docker daemon config"
|
|
88
|
-
|
|
89
|
-
$DaemonConfig
|
|
88
|
+
$daemonConfigPath = "$RunDir\\daemon.json"
|
|
89
|
+
[System.IO.File]::WriteAllText($daemonConfigPath, $DaemonConfig, (New-Object System.Text.UTF8Encoding($false)))
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
$arguments = @(
|
|
@@ -96,6 +96,9 @@ $arguments = @(
|
|
|
96
96
|
"--pidfile=$RunDir\\\\docker.pid",
|
|
97
97
|
"--register-service"
|
|
98
98
|
)
|
|
99
|
+
if ($DaemonConfig) {
|
|
100
|
+
$arguments += '--config-file="' + $daemonConfigPath + '"'
|
|
101
|
+
}
|
|
99
102
|
if ($DockerHostTCP) {
|
|
100
103
|
$arguments += "--host=$DockerHostTCP"
|
|
101
104
|
}
|
|
@@ -158,19 +161,19 @@ images:
|
|
|
158
161
|
arch: "{{arch}}"
|
|
159
162
|
digest: "{{digest}}"
|
|
160
163
|
{{/each}}
|
|
161
|
-
- location: "https://cloud-images.ubuntu.com/releases/noble/release-
|
|
164
|
+
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-amd64.img"
|
|
162
165
|
arch: "x86_64"
|
|
163
|
-
digest: "sha256:
|
|
166
|
+
digest: "sha256:04e8f2461a16a44e78a370284471f29616cdd9baf1893df25807b71f985b6c94"
|
|
164
167
|
kernel:
|
|
165
|
-
location: "https://cloud-images.ubuntu.com/releases/noble/release-
|
|
166
|
-
digest: "sha256:
|
|
168
|
+
location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"
|
|
169
|
+
digest: "sha256:41ba36d860aa0b0cd995f4ca8856d80249b244577e704929b55be13fbd1ebd2f"
|
|
167
170
|
cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check"
|
|
168
171
|
initrd:
|
|
169
|
-
location: "https://cloud-images.ubuntu.com/releases/noble/release-
|
|
170
|
-
digest: "sha256:
|
|
171
|
-
- location: "https://cloud-images.ubuntu.com/releases/noble/release-
|
|
172
|
+
location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"
|
|
173
|
+
digest: "sha256:bf276ffc12872256080890698b42db0dc9c5a469c896d8b59af6bc4e723cd186"
|
|
174
|
+
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-arm64.img"
|
|
172
175
|
arch: "aarch64"
|
|
173
|
-
digest: "sha256:
|
|
176
|
+
digest: "sha256:50e24e1fb79e89116e939d90aa7738f7af48c442fa1bc2510131e0b39c50348e"
|
|
174
177
|
# Fallback to the latest release image.
|
|
175
178
|
# Hint: run \`limactl prune\` to invalidate the cache
|
|
176
179
|
- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img
|
package/lib/docker/assets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/docker/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAEtC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAW,EAAE;IAC5C,OAAO,GAAG,CAAC,sBAAsB,EAAE,qBAAqB,CAAC,CAAC;AAC5D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAW,EAAE;IAC/C,OAAO,GAAG,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAW,EAAE;IACnC,OAAO,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAE1C,MAAM,GAAG,GAAG,CAAC,QAAgB,EAAE,IAAY,EAAE,IAAa,EAAU,EAAE;IACpE,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,QAAQ,EAAE,uBAAuB,QAAQ,EAAE;QAC3C,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE;KACzB,CAAC,CAAC;IACH,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAClC,IAAI,IAAI,EAAE,CAAC;QACT,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG
|
|
1
|
+
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/docker/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAEtC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAW,EAAE;IAC5C,OAAO,GAAG,CAAC,sBAAsB,EAAE,qBAAqB,CAAC,CAAC;AAC5D,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAW,EAAE;IAC/C,OAAO,GAAG,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAW,EAAE;IACnC,OAAO,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAE1C,MAAM,GAAG,GAAG,CAAC,QAAgB,EAAE,IAAY,EAAE,IAAa,EAAU,EAAE;IACpE,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,QAAQ,EAAE,uBAAuB,QAAQ,EAAE;QAC3C,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE;KACzB,CAAC,CAAC;IACH,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAClC,IAAI,IAAI,EAAE,CAAC;QACT,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FpC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG;;;;;CAKvC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmN3B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 actions-toolkit authors
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export interface BuildOutputOpts {
|
|
17
|
+
output: string;
|
|
18
|
+
images?: Array<string>;
|
|
19
|
+
push?: boolean;
|
|
20
|
+
localExportDir?: string;
|
|
21
|
+
compression?: 'uncompressed' | 'gzip' | 'estargz' | 'zstd';
|
|
22
|
+
compressionLevel?: number;
|
|
23
|
+
forceCompression?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare class BuildOutput {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs the github-builder exporter for Buildx build or Bake.
|
|
28
|
+
* Bake callers prefix the result with "*.output=". Compression options only
|
|
29
|
+
* apply to image output; omitted options retain BuildKit's defaults.
|
|
30
|
+
* BuildKit validates compression levels for the selected algorithm.
|
|
31
|
+
*/
|
|
32
|
+
static resolve(opts: BuildOutputOpts): string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 actions-toolkit authors
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { stringify } from 'csv-stringify/sync';
|
|
17
|
+
export class BuildOutput {
|
|
18
|
+
/**
|
|
19
|
+
* Constructs the github-builder exporter for Buildx build or Bake.
|
|
20
|
+
* Bake callers prefix the result with "*.output=". Compression options only
|
|
21
|
+
* apply to image output; omitted options retain BuildKit's defaults.
|
|
22
|
+
* BuildKit validates compression levels for the selected algorithm.
|
|
23
|
+
*/
|
|
24
|
+
static resolve(opts) {
|
|
25
|
+
let fields;
|
|
26
|
+
switch (opts.output) {
|
|
27
|
+
case 'image':
|
|
28
|
+
if (!opts.images?.length) {
|
|
29
|
+
throw new Error('meta-images is required when output is image');
|
|
30
|
+
}
|
|
31
|
+
fields = ['type=image', `name=${opts.images.join(',')}`, 'oci-artifact=true', 'push-by-digest=true', 'name-canonical=true', `push=${opts.push ?? false}`];
|
|
32
|
+
if (opts.compression) {
|
|
33
|
+
fields.push(`compression=${opts.compression}`);
|
|
34
|
+
}
|
|
35
|
+
if (opts.compressionLevel !== undefined) {
|
|
36
|
+
fields.push(`compression-level=${opts.compressionLevel}`);
|
|
37
|
+
}
|
|
38
|
+
if (opts.forceCompression !== undefined) {
|
|
39
|
+
fields.push(`force-compression=${opts.forceCompression}`);
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
case 'local':
|
|
43
|
+
if (!opts.localExportDir) {
|
|
44
|
+
throw new Error('localExportDir is required when output is local');
|
|
45
|
+
}
|
|
46
|
+
fields = ['type=local', 'platform-split=true', `dest=${opts.localExportDir}`];
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
throw new Error(`Invalid output: ${opts.output}`);
|
|
50
|
+
}
|
|
51
|
+
return stringify([fields], { eof: false });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=build-output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-output.js","sourceRoot":"","sources":["../../src/github-builder/build-output.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAY7C,MAAM,OAAO,WAAW;IACtB;;;;;OAKG;IACI,MAAM,CAAC,OAAO,CAAC,IAAqB;QACzC,IAAI,MAAqB,CAAC;QAC1B,QAAQ,IAAI,CAAC,MAAM,EAAE,CAAC;YACpB,KAAK,OAAO;gBACV,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;oBACzB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;gBAClE,CAAC;gBACD,MAAM,GAAG,CAAC,YAAY,EAAE,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,QAAQ,IAAI,CAAC,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC;gBAC1J,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;oBACrB,MAAM,CAAC,IAAI,CAAC,eAAe,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;gBACjD,CAAC;gBACD,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE,CAAC;oBACxC,MAAM,CAAC,IAAI,CAAC,qBAAqB,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;gBAC5D,CAAC;gBACD,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE,CAAC;oBACxC,MAAM,CAAC,IAAI,CAAC,qBAAqB,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;gBAC5D,CAAC;gBACD,MAAM;YACR,KAAK,OAAO;gBACV,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,MAAM,GAAG,CAAC,YAAY,EAAE,qBAAqB,EAAE,QAAQ,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;gBAC9E,MAAM;YACR;gBACE,MAAM,IAAI,KAAK,CAAC,mBAAmB,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACtD,CAAC;QACD,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,EAAE,EAAC,GAAG,EAAE,KAAK,EAAC,CAAC,CAAC;IAC3C,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 actions-toolkit authors
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { GitHubOpts } from '../github/github.js';
|
|
17
|
+
export declare class SourceDateEpoch {
|
|
18
|
+
/**
|
|
19
|
+
* Resolves a non-negative Unix timestamp through year 9999, or the event
|
|
20
|
+
* commit's committer time for "commit". Empty input is invalid; callers should
|
|
21
|
+
* skip resolution when reproducible timestamps are disabled.
|
|
22
|
+
*/
|
|
23
|
+
static resolve(input: string, opts?: GitHubOpts): Promise<{
|
|
24
|
+
epoch: string;
|
|
25
|
+
created: string;
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 actions-toolkit authors
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { GitHub } from '../github/github.js';
|
|
17
|
+
export class SourceDateEpoch {
|
|
18
|
+
/**
|
|
19
|
+
* Resolves a non-negative Unix timestamp through year 9999, or the event
|
|
20
|
+
* commit's committer time for "commit". Empty input is invalid; callers should
|
|
21
|
+
* skip resolution when reproducible timestamps are disabled.
|
|
22
|
+
*/
|
|
23
|
+
static async resolve(input, opts) {
|
|
24
|
+
let value = input.trim();
|
|
25
|
+
if (value === 'commit') {
|
|
26
|
+
const { data } = await new GitHub(opts).octokit.rest.repos.getCommit({
|
|
27
|
+
...GitHub.context.repo,
|
|
28
|
+
ref: GitHub.context.sha
|
|
29
|
+
});
|
|
30
|
+
value = String(Date.parse(data.commit.committer?.date || '') / 1000);
|
|
31
|
+
}
|
|
32
|
+
const epoch = Number(value);
|
|
33
|
+
const date = new Date(epoch * 1000);
|
|
34
|
+
if (!/^\d+$/.test(value) || !Number.isSafeInteger(epoch) || Number.isNaN(date.getTime()) || date.getUTCFullYear() > 9999) {
|
|
35
|
+
throw new Error('source-date-epoch must be commit or a non-negative Unix timestamp through year 9999');
|
|
36
|
+
}
|
|
37
|
+
return { epoch: String(epoch), created: date.toISOString() };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=source-date-epoch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-date-epoch.js","sourceRoot":"","sources":["../../src/github-builder/source-date-epoch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,MAAM,EAAa,MAAM,qBAAqB,CAAC;AAEvD,MAAM,OAAO,eAAe;IAC1B;;;;OAIG;IACI,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAa,EAAE,IAAiB;QAC1D,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;QACzB,IAAI,KAAK,KAAK,QAAQ,EAAE,CAAC;YACvB,MAAM,EAAC,IAAI,EAAC,GAAG,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;gBACjE,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI;gBACtB,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG;aACxB,CAAC,CAAC;YACH,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;QACvE,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,GAAG,IAAI,EAAE,CAAC;YACzH,MAAM,IAAI,KAAK,CAAC,qFAAqF,CAAC,CAAC;QACzG,CAAC;QACD,OAAO,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,EAAC,CAAC;IAC7D,CAAC;CACF"}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docker/github-builder-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@docker/github-builder-runtime",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.108.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@actions/artifact": "^6.3.1",
|
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
"@sigstore/verify": "^4.1.2",
|
|
23
23
|
"async-retry": "^1.3.3",
|
|
24
24
|
"csv-parse": "^7.0.3",
|
|
25
|
+
"csv-stringify": "^6.9.0",
|
|
25
26
|
"gunzip-maybe": "^1.4.2",
|
|
26
27
|
"handlebars": "^4.7.10",
|
|
27
28
|
"he": "^2.0.0",
|
|
28
|
-
"js-yaml": "^5.
|
|
29
|
+
"js-yaml": "^5.5.0",
|
|
29
30
|
"jwt-decode": "^4.0.0",
|
|
30
31
|
"semver": "^7.8.5",
|
|
31
32
|
"tar-stream": "^3.2.2",
|
|
@@ -732,13 +733,13 @@
|
|
|
732
733
|
}
|
|
733
734
|
},
|
|
734
735
|
"node_modules/@tufjs/models": {
|
|
735
|
-
"version": "5.0.
|
|
736
|
-
"resolved": "https://registry.npmjs.org/@tufjs/models/-/models-5.0.
|
|
737
|
-
"integrity": "sha512-
|
|
736
|
+
"version": "5.0.1",
|
|
737
|
+
"resolved": "https://registry.npmjs.org/@tufjs/models/-/models-5.0.1.tgz",
|
|
738
|
+
"integrity": "sha512-wacy5twbJk36R0dTcGE3qmPNNH095bFselAYNrVCzf0Byd0t3+Qzk3+3gn/rHGP10FuHBVk4swg4aczr1c2z/g==",
|
|
738
739
|
"license": "MIT",
|
|
739
740
|
"dependencies": {
|
|
740
741
|
"@tufjs/canonical-json": "2.0.0",
|
|
741
|
-
"minimatch": "^10.2.
|
|
742
|
+
"minimatch": "^10.2.6"
|
|
742
743
|
},
|
|
743
744
|
"engines": {
|
|
744
745
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
@@ -789,9 +790,9 @@
|
|
|
789
790
|
}
|
|
790
791
|
},
|
|
791
792
|
"node_modules/ansi-regex": {
|
|
792
|
-
"version": "6.
|
|
793
|
-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.
|
|
794
|
-
"integrity": "sha512-
|
|
793
|
+
"version": "6.5.0",
|
|
794
|
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz",
|
|
795
|
+
"integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==",
|
|
795
796
|
"license": "MIT",
|
|
796
797
|
"engines": {
|
|
797
798
|
"node": ">=12"
|
|
@@ -876,10 +877,20 @@
|
|
|
876
877
|
}
|
|
877
878
|
},
|
|
878
879
|
"node_modules/argparse": {
|
|
879
|
-
"version": "
|
|
880
|
-
"resolved": "https://registry.npmjs.org/argparse/-/argparse-
|
|
881
|
-
"integrity": "sha512-
|
|
882
|
-
"
|
|
880
|
+
"version": "3.0.4",
|
|
881
|
+
"resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.4.tgz",
|
|
882
|
+
"integrity": "sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==",
|
|
883
|
+
"funding": [
|
|
884
|
+
{
|
|
885
|
+
"type": "github",
|
|
886
|
+
"url": "https://github.com/sponsors/puzrin"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"type": "github",
|
|
890
|
+
"url": "https://github.com/sponsors/nodeca"
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"license": "PSF-2.0"
|
|
883
894
|
},
|
|
884
895
|
"node_modules/array-buffer-byte-length": {
|
|
885
896
|
"version": "1.0.2",
|
|
@@ -980,6 +991,15 @@
|
|
|
980
991
|
"node": "18 || 20 || >=22"
|
|
981
992
|
}
|
|
982
993
|
},
|
|
994
|
+
"node_modules/bare-buffer": {
|
|
995
|
+
"version": "3.7.1",
|
|
996
|
+
"resolved": "https://registry.npmjs.org/bare-buffer/-/bare-buffer-3.7.1.tgz",
|
|
997
|
+
"integrity": "sha512-cIjZnSO+y89ykVX9x96OVnA6tGORBn7vGJ/e3PCbBHMEyfMNG/ixzOS0lLa6saMlWcs69bSKjxFyDwjK152OMg==",
|
|
998
|
+
"license": "Apache-2.0",
|
|
999
|
+
"engines": {
|
|
1000
|
+
"bare": ">=1.20.0"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
983
1003
|
"node_modules/bare-events": {
|
|
984
1004
|
"version": "2.9.2",
|
|
985
1005
|
"resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.9.2.tgz",
|
|
@@ -1052,11 +1072,12 @@
|
|
|
1052
1072
|
}
|
|
1053
1073
|
},
|
|
1054
1074
|
"node_modules/bare-url": {
|
|
1055
|
-
"version": "2.5.
|
|
1056
|
-
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.
|
|
1057
|
-
"integrity": "sha512-
|
|
1075
|
+
"version": "2.5.6",
|
|
1076
|
+
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.6.tgz",
|
|
1077
|
+
"integrity": "sha512-iqkXHkW65De+BT14nHLiBFbNuJ/DdMrZaVNJ1IXPctpK6b1olUJ5Qmy8QBvwROajTiGztso2n82kFEvCsNG7Rg==",
|
|
1058
1078
|
"license": "Apache-2.0",
|
|
1059
1079
|
"dependencies": {
|
|
1080
|
+
"bare-buffer": "^3.0.0",
|
|
1060
1081
|
"bare-path": "^3.0.0"
|
|
1061
1082
|
}
|
|
1062
1083
|
},
|
|
@@ -1330,6 +1351,12 @@
|
|
|
1330
1351
|
"integrity": "sha512-YFd3QM/yo17vH91L1IOZuvl09zM0zEEtdfTcOCKWcMdM++MNaQSyp09slXyFCLaPXvHstQFx/xC8myiFHSMUvw==",
|
|
1331
1352
|
"license": "MIT"
|
|
1332
1353
|
},
|
|
1354
|
+
"node_modules/csv-stringify": {
|
|
1355
|
+
"version": "6.9.0",
|
|
1356
|
+
"resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-6.9.0.tgz",
|
|
1357
|
+
"integrity": "sha512-6b3e29CILFfSQ2nDRuZMRROzQOpPuJ+s8zPB5H7eK5ncXBbFOyVuRLU5Sx/zAUmVri3Ly49GyC8NEme4SVSAbA==",
|
|
1358
|
+
"license": "MIT"
|
|
1359
|
+
},
|
|
1333
1360
|
"node_modules/data-view-buffer": {
|
|
1334
1361
|
"version": "1.0.2",
|
|
1335
1362
|
"resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",
|
|
@@ -1716,9 +1743,9 @@
|
|
|
1716
1743
|
}
|
|
1717
1744
|
},
|
|
1718
1745
|
"node_modules/fast-xml-parser": {
|
|
1719
|
-
"version": "5.
|
|
1720
|
-
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.
|
|
1721
|
-
"integrity": "sha512
|
|
1746
|
+
"version": "5.12.0",
|
|
1747
|
+
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.12.0.tgz",
|
|
1748
|
+
"integrity": "sha512-/pXxRBtwxY9w8z7YbgsvIPPcPvFDsTbIkWwTQJhzNJPokj+TbN6ftmcv4j/pEQDvOCNnKGDzuk5Bo2oogIOiFg==",
|
|
1722
1749
|
"funding": [
|
|
1723
1750
|
{
|
|
1724
1751
|
"type": "github",
|
|
@@ -1727,11 +1754,11 @@
|
|
|
1727
1754
|
],
|
|
1728
1755
|
"license": "MIT",
|
|
1729
1756
|
"dependencies": {
|
|
1730
|
-
"@nodable/entities": "^3.0
|
|
1731
|
-
"fast-xml-builder": "^1.
|
|
1732
|
-
"is-unsafe": "^2.0.
|
|
1757
|
+
"@nodable/entities": "^3.1.0",
|
|
1758
|
+
"fast-xml-builder": "^1.3.1",
|
|
1759
|
+
"is-unsafe": "^2.0.3",
|
|
1733
1760
|
"path-expression-matcher": "^1.6.2",
|
|
1734
|
-
"strnum": "^2.
|
|
1761
|
+
"strnum": "^2.5.1",
|
|
1735
1762
|
"xml-naming": "^0.3.0"
|
|
1736
1763
|
},
|
|
1737
1764
|
"bin": {
|
|
@@ -2489,9 +2516,9 @@
|
|
|
2489
2516
|
}
|
|
2490
2517
|
},
|
|
2491
2518
|
"node_modules/is-unsafe": {
|
|
2492
|
-
"version": "2.0.
|
|
2493
|
-
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.
|
|
2494
|
-
"integrity": "sha512-
|
|
2519
|
+
"version": "2.0.3",
|
|
2520
|
+
"resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.3.tgz",
|
|
2521
|
+
"integrity": "sha512-ZBllczCCO267vgdFb6Tq3pv+LhHaCiGMdr+ZsuL+OopruAg7S+3ZDs1vD0RPC0uSrkjzbraxaGjtX1YBxjPeFQ==",
|
|
2495
2522
|
"funding": [
|
|
2496
2523
|
{
|
|
2497
2524
|
"type": "github",
|
|
@@ -2571,9 +2598,9 @@
|
|
|
2571
2598
|
}
|
|
2572
2599
|
},
|
|
2573
2600
|
"node_modules/js-yaml": {
|
|
2574
|
-
"version": "5.
|
|
2575
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.
|
|
2576
|
-
"integrity": "sha512-
|
|
2601
|
+
"version": "5.5.0",
|
|
2602
|
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.5.0.tgz",
|
|
2603
|
+
"integrity": "sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==",
|
|
2577
2604
|
"funding": [
|
|
2578
2605
|
{
|
|
2579
2606
|
"type": "github",
|
|
@@ -2586,7 +2613,7 @@
|
|
|
2586
2613
|
],
|
|
2587
2614
|
"license": "MIT",
|
|
2588
2615
|
"dependencies": {
|
|
2589
|
-
"argparse": "^
|
|
2616
|
+
"argparse": "^3.0.3"
|
|
2590
2617
|
},
|
|
2591
2618
|
"bin": {
|
|
2592
2619
|
"js-yaml": "bin/js-yaml.mjs"
|
|
@@ -3094,9 +3121,9 @@
|
|
|
3094
3121
|
}
|
|
3095
3122
|
},
|
|
3096
3123
|
"node_modules/semver": {
|
|
3097
|
-
"version": "7.8.
|
|
3098
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.
|
|
3099
|
-
"integrity": "sha512-
|
|
3124
|
+
"version": "7.8.6",
|
|
3125
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz",
|
|
3126
|
+
"integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==",
|
|
3100
3127
|
"license": "ISC",
|
|
3101
3128
|
"bin": {
|
|
3102
3129
|
"semver": "bin/semver.js"
|
|
@@ -3577,19 +3604,19 @@
|
|
|
3577
3604
|
}
|
|
3578
3605
|
},
|
|
3579
3606
|
"node_modules/tslib": {
|
|
3580
|
-
"version": "2.
|
|
3581
|
-
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.
|
|
3582
|
-
"integrity": "sha512-
|
|
3607
|
+
"version": "2.9.1",
|
|
3608
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz",
|
|
3609
|
+
"integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==",
|
|
3583
3610
|
"license": "0BSD"
|
|
3584
3611
|
},
|
|
3585
3612
|
"node_modules/tuf-js": {
|
|
3586
|
-
"version": "6.0.
|
|
3587
|
-
"resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-6.0.
|
|
3588
|
-
"integrity": "sha512-
|
|
3613
|
+
"version": "6.0.1",
|
|
3614
|
+
"resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-6.0.1.tgz",
|
|
3615
|
+
"integrity": "sha512-o59N1PU8xk0bBV3HpJ4jjwldIeze17yXW1XTv02CEEKdC3E/tnJDU3CPWDNT4IZpkx9Srv9v1DJZ+JTdo46THg==",
|
|
3589
3616
|
"license": "MIT",
|
|
3590
3617
|
"dependencies": {
|
|
3591
3618
|
"@gar/promise-retry": "^1.0.3",
|
|
3592
|
-
"@tufjs/models": "5.0.
|
|
3619
|
+
"@tufjs/models": "5.0.1",
|
|
3593
3620
|
"debug": "^4.4.3"
|
|
3594
3621
|
},
|
|
3595
3622
|
"engines": {
|
|
@@ -3732,9 +3759,9 @@
|
|
|
3732
3759
|
}
|
|
3733
3760
|
},
|
|
3734
3761
|
"node_modules/undici": {
|
|
3735
|
-
"version": "6.29.
|
|
3736
|
-
"resolved": "https://registry.npmjs.org/undici/-/undici-6.29.
|
|
3737
|
-
"integrity": "sha512-
|
|
3762
|
+
"version": "6.29.1",
|
|
3763
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-6.29.1.tgz",
|
|
3764
|
+
"integrity": "sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==",
|
|
3738
3765
|
"license": "MIT",
|
|
3739
3766
|
"engines": {
|
|
3740
3767
|
"node": ">=18.17"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docker/github-builder-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"description": "Runtime package for Docker GitHub Builder workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -44,10 +44,11 @@
|
|
|
44
44
|
"@sigstore/verify": "^4.1.2",
|
|
45
45
|
"async-retry": "^1.3.3",
|
|
46
46
|
"csv-parse": "^7.0.3",
|
|
47
|
+
"csv-stringify": "^6.9.0",
|
|
47
48
|
"gunzip-maybe": "^1.4.2",
|
|
48
49
|
"handlebars": "^4.7.10",
|
|
49
50
|
"he": "^2.0.0",
|
|
50
|
-
"js-yaml": "^5.
|
|
51
|
+
"js-yaml": "^5.5.0",
|
|
51
52
|
"jwt-decode": "^4.0.0",
|
|
52
53
|
"semver": "^7.8.5",
|
|
53
54
|
"tar-stream": "^3.2.2",
|