Files
iroh/.github/workflows/docker.yaml
dependabot[bot] a5e39c44d3 chore(deps): bump the github-actions group across 1 directory with 3 updates (#4663)
Bumps the github-actions group with 3 updates in the / directory:
[n0-computer/workflows/.github/workflows/minimal-crates.yaml](https://github.com/n0-computer/workflows),
[taiki-e/install-action](https://github.com/taiki-e/install-action) and
[docker/login-action](https://github.com/docker/login-action).

Updates `n0-computer/workflows/.github/workflows/minimal-crates.yaml`
from 1 to 2
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/n0-computer/workflows/commit/a52bc33bbea33b946494903381e866a0e9b6bf04"><code>a52bc33</code></a>
minimal-crates: blacksmith runners &amp; noq support (<a
href="https://redirect.github.com/n0-computer/workflows/issues/10">#10</a>)</li>
<li><a
href="https://github.com/n0-computer/workflows/commit/ff0d1010be12075c128b2586c06fa853d056f119"><code>ff0d101</code></a>
Use pinact, zizmor &amp; dependabot on this repo too (<a
href="https://redirect.github.com/n0-computer/workflows/issues/8">#8</a>)</li>
<li>See full diff in <a
href="https://github.com/n0-computer/workflows/compare/v1...v2">compare
view</a></li>
</ul>
</details>
<br />

Updates `taiki-e/install-action` from 2.87.30 to 2.88.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/taiki-e/install-action/releases">taiki-e/install-action's
releases</a>.</em></p>
<blockquote>
<h2>2.88.0</h2>
<ul>
<li>Support <code>similarity-rs</code>. (<a
href="https://redirect.github.com/taiki-e/install-action/pull/2017">#2017</a>,
thanks <a
href="https://github.com/HardMax71"><code>@​HardMax71</code></a>)</li>
</ul>
<h2>2.87.33</h2>
<ul>
<li>
<p>Update <code>vacuum@latest</code> to 0.35.4.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.13.6.</p>
</li>
<li>
<p>Update <code>trunk@latest</code> to 0.22.1.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.9.6.</p>
</li>
<li>
<p>Update <code>release-plz@latest</code> to 0.4.2.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.21.</p>
</li>
<li>
<p>Update <code>cargo-nextest@latest</code> to 0.9.150.</p>
</li>
<li>
<p>Update <code>cargo-about@latest</code> to 0.9.3.</p>
</li>
</ul>
<h2>2.87.32</h2>
<ul>
<li>
<p>Update <code>wild@latest</code> to 0.11.0.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.35.2.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.9.5.</p>
</li>
<li>
<p>Update <code>sccache@latest</code> to 0.19.0.</p>
</li>
<li>
<p>Update <code>release-plz@latest</code> to 0.4.1.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.10.19.</p>
</li>
<li>
<p>Update <code>knope@latest</code> to 0.23.2.</p>
</li>
<li>
<p>Update <code>dprint@latest</code> to 0.64.3.</p>
</li>
<li>
<p>Update <code>cargo-vet@latest</code> to 0.10.3.</p>
</li>
<li>
<p>Update <code>cargo-sort@latest</code> to 2.1.4.</p>
</li>
<li>
<p>Update <code>cargo-binstall@latest</code> to 1.26.1.</p>
</li>
<li>
<p>Update <code>biome@latest</code> to 2.6.3.</p>
</li>
</ul>
<h2>2.87.31</h2>
<ul>
<li>
<p>Downgrade <code>cargo-sort@latest</code> to 2.1.3.</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.35.0.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md">taiki-e/install-action's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this
file.</p>
<p>This project adheres to <a href="https://semver.org">Semantic
Versioning</a>.</p>
<!-- raw HTML omitted -->
<h2>[Unreleased]</h2>
<h2>[2.90.1] - 2026-11-04</h2>
<ul>
<li>
<p>Update <code>zizmor@latest</code> to 1.32.0.</p>
</li>
<li>
<p>Update <code>uv@latest</code> to 0.13.7.</p>
</li>
<li>
<p>Update <code>typos@latest</code> to 1.52.0.</p>
</li>
<li>
<p>Update <code>tombi@latest</code> to 1.9.9.</p>
</li>
<li>
<p>Update <code>syft@latest</code> to 1.56.0.</p>
</li>
<li>
<p>Update <code>mise@latest</code> to 2026.11.0.</p>
</li>
<li>
<p>Update <code>kache@latest</code> to 2.0.0.</p>
</li>
<li>
<p>Update <code>cargo-nextest@latest</code> to 0.9.151.</p>
</li>
</ul>
<h2>[2.90.0] - 2026-11-03</h2>
<ul>
<li>
<p>Add <code>fallback: skip</code> input option. This is similar to
<code>fallback: none</code> but skip unsupported tools instead of error.
(<a
href="https://redirect.github.com/taiki-e/install-action/issues/2052">#2052</a>)</p>
</li>
<li>
<p>Update <code>vacuum@latest</code> to 0.36.2.</p>
</li>
<li>
<p>Update <code>release-plz@latest</code> to 0.4.3.</p>
</li>
<li>
<p>Update <code>bpf-linker@latest</code> to 0.13.0.</p>
</li>
</ul>
<h2>[2.89.1] - 2026-11-02</h2>
<ul>
<li>
<p>Install <code>ld.mold</code> symlink when installing
<code>mold</code> on Linux. Previously, only <code>mold</code> binary
was installed. (<a
href="https://redirect.github.com/taiki-e/install-action/pull/2050">#2050</a>,
thanks <a
href="https://github.com/FirelightFlagboy"><code>@​FirelightFlagboy</code></a>)</p>
</li>
<li>
<p>Update <code>parse-dockerfile@latest</code> to 0.1.9.</p>
</li>
<li>
<p>Update <code>parse-changelog@latest</code> to 0.6.18.</p>
</li>
<li>
<p>Update <code>cargo-minimal-versions@latest</code> to 0.1.38.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/taiki-e/install-action/commit/86f7a0ffb25f40114606501a311ebcfaf882ea32"><code>86f7a0f</code></a>
Release 2.88.0</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/90d1803bbfd94c94c05ab55a315407bedff5285f"><code>90d1803</code></a>
Update changelog</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/73284604a3c53d7199bff672d8d6b2f2b84f2fc6"><code>7328460</code></a>
Support similarity-rs (<a
href="https://redirect.github.com/taiki-e/install-action/issues/2017">#2017</a>)</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/645d1ab48b3cb8591684a8b730b2ccf4cb3f9568"><code>645d1ab</code></a>
Release 2.87.33</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/4c6c821774f76b9411d0974794af51da9b181cf9"><code>4c6c821</code></a>
Update <code>vacuum@latest</code> to 0.35.4</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/2412e4dd7bfe88a37653b4cd6e7b11f3100fa27b"><code>2412e4d</code></a>
Update <code>uv@latest</code> to 0.13.6</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/d370c278805f6d2285530fbfa6a4c2887b0b6c13"><code>d370c27</code></a>
Update <code>trunk@latest</code> to 0.22.1</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/9145af1a5102891c3da858d184da5336dcad465d"><code>9145af1</code></a>
Update <code>tombi@latest</code> to 1.9.6</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/6b400b69a5e1404971ce6607bed6fea0f6966f80"><code>6b400b6</code></a>
Update <code>release-plz@latest</code> to 0.4.2</li>
<li><a
href="https://github.com/taiki-e/install-action/commit/bdef1945595ac603e5d82ba5dae4edef41837e93"><code>bdef194</code></a>
Update <code>mise@latest</code> to 2026.10.21</li>
<li>Additional commits viewable in <a
href="https://github.com/taiki-e/install-action/compare/a4d3f3f761dcd95cce1b72cb61cb6d1963438177...86f7a0ffb25f40114606501a311ebcfaf882ea32">compare
view</a></li>
</ul>
</details>
<br />

Updates `docker/login-action` from 4.6.0 to 4.7.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/login-action/releases">docker/login-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.7.0</h2>
<ul>
<li>Preserve explicit ECR settings in <code>registry-auth</code> by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/login-action/pull/1089">docker/login-action#1089</a></li>
<li>Use registry hosts for scoped credentials by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/login-action/pull/1088">docker/login-action#1088</a></li>
<li>Raise Docker Hub OIDC max expiry to 6 hours by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/login-action/pull/1068">docker/login-action#1068</a></li>
<li>Log Docker Hub OIDC token exchange progress by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/login-action/pull/1061">docker/login-action#1061</a></li>
<li>Bump <code>@​aws-sdk/client-ecr</code> and
<code>@​aws-sdk/client-ecr-public</code> to 3.1154.0 in <a
href="https://redirect.github.com/docker/login-action/pull/1093">docker/login-action#1093</a></li>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.94.0 to 0.107.0 in
<a
href="https://redirect.github.com/docker/login-action/pull/1100">docker/login-action#1100</a></li>
<li>Bump <code>@​humanfs/node</code> from 0.16.7 to 0.16.8 in <a
href="https://redirect.github.com/docker/login-action/pull/1077">docker/login-action#1077</a></li>
<li>Bump csv-parse from 7.0.1 to 7.0.3 in <a
href="https://redirect.github.com/docker/login-action/pull/1078">docker/login-action#1078</a></li>
<li>Bump handlebars from 4.7.9 to 4.7.10 in <a
href="https://redirect.github.com/docker/login-action/pull/1091">docker/login-action#1091</a></li>
<li>Bump js-yaml from 5.2.2 to 5.5.0 in <a
href="https://redirect.github.com/docker/login-action/pull/1066">docker/login-action#1066</a></li>
<li>Bump postcss from 8.5.22 to 8.5.26 in <a
href="https://redirect.github.com/docker/login-action/pull/1071">docker/login-action#1071</a></li>
<li>Bump postcss-selector-parser from 7.1.1 to 7.1.6 in <a
href="https://redirect.github.com/docker/login-action/pull/1092">docker/login-action#1092</a></li>
<li>Bump source-map-js from 1.2.1 to 1.2.2 in <a
href="https://redirect.github.com/docker/login-action/pull/1090">docker/login-action#1090</a></li>
<li>Bump undici from 6.27.0 to 6.29.1 in <a
href="https://redirect.github.com/docker/login-action/pull/1085">docker/login-action#1085</a></li>
<li>Bump uuid from 14.0.1 to 14.0.3 in <a
href="https://redirect.github.com/docker/login-action/pull/1096">docker/login-action#1096</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/login-action/compare/v4.6.0...v4.7.0">https://github.com/docker/login-action/compare/v4.6.0...v4.7.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/docker/login-action/commit/81c6f93d4bc991e510b342a00b419b3bb4efc5c6"><code>81c6f93</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1100">#1100</a>
from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a
href="https://github.com/docker/login-action/commit/1b16c8d1815e1d951d87a3522ff48a76d073735a"><code>1b16c8d</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1096">#1096</a>
from docker/dependabot/npm_and_yarn/uuid-14.0.3</li>
<li><a
href="https://github.com/docker/login-action/commit/ac86b5e9e9d2db43b12b2d3afb9140a427d69d65"><code>ac86b5e</code></a>
[dependabot skip] chore: update generated content</li>
<li><a
href="https://github.com/docker/login-action/commit/1476d845f08dd8309a938959a280f2e23c0cba14"><code>1476d84</code></a>
build(deps): bump <code>@​docker/actions-toolkit</code> from 0.94.0 to
0.107.0</li>
<li><a
href="https://github.com/docker/login-action/commit/503cee68d85e94275776fcc6f5315f19207f7567"><code>503cee6</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1095">#1095</a>
from docker/dependabot/github_actions/actions/create...</li>
<li><a
href="https://github.com/docker/login-action/commit/f0935357f5c539aeb7ff6b886ba5434ab76e9de3"><code>f093535</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1099">#1099</a>
from docker/dependabot/github_actions/codecov/codeco...</li>
<li><a
href="https://github.com/docker/login-action/commit/d5ae7f188776587b12b77b45e29ea21332462da9"><code>d5ae7f1</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1098">#1098</a>
from docker/dependabot/github_actions/docker/bake-ac...</li>
<li><a
href="https://github.com/docker/login-action/commit/6f9750797f6e7186f18c069a7e97abc1dcf1006b"><code>6f97507</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1097">#1097</a>
from docker/dependabot/github_actions/docker/bake-ac...</li>
<li><a
href="https://github.com/docker/login-action/commit/006d61fa598847d65f6670d1569545fa2af9cf02"><code>006d61f</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1094">#1094</a>
from docker/dependabot/github_actions/codeql-actions...</li>
<li><a
href="https://github.com/docker/login-action/commit/93f5f522eea5eacabf35cc89b9d19ec23e742471"><code>93f5f52</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/login-action/issues/1093">#1093</a>
from docker/dependabot/npm_and_yarn/aws-sdk-dependen...</li>
<li>Additional commits viewable in <a
href="https://github.com/docker/login-action/compare/dbcb813823bdd20940b903addbd779551569679f...81c6f93d4bc991e510b342a00b419b3bb4efc5c6">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-05 14:24:53 +00:00

135 lines
4.4 KiB
YAML

name: Docker
on:
workflow_dispatch:
inputs:
release_version:
description: "Release version"
required: true
type: string
default: ""
base_hash:
description: "Commit hash from which to build"
required: true
type: string
default: ""
publish:
description: "Publish to Docker Hub"
required: true
type: boolean
default: false
workflow_call:
inputs:
release_version:
description: "Release version"
required: true
type: string
default: ""
base_hash:
description: "Commit hash from which to build"
required: true
type: string
default: ""
publish:
description: "Publish to Docker Hub"
required: true
type: boolean
default: false
secrets:
DOCKERHUB_USERNAME:
required: true
DOCKERHUB_TOKEN:
required: true
S3_ACCESS_KEY_ID:
required: true
S3_ACCESS_KEY:
required: true
env:
IROH_FORCE_STAGING_RELAYS: "1"
# Default to read-only; jobs that need more grant it explicitly.
permissions:
contents: read
jobs:
build_and_publish:
timeout-minutes: 30
name: Docker
runs-on: blacksmith-4vcpu-ubuntu-2204
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up QEMU
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Login to Docker Hub
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Prep dirs
run: |
mkdir -p bins/linux/amd64
mkdir -p bins/linux/arm64
- name: Cache AWS CLI
id: cache-awscli
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/awscli
key: awscli-${{ runner.os }}-${{ runner.arch }}-v2
- name: Download awscli
if: steps.cache-awscli.outputs.cache-hit != 'true'
run: |
mkdir -p ~/awscli
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o ~/awscli/awscliv2.zip
cd ~/awscli && unzip -oq awscliv2.zip
- name: Install awscli
run: sudo ~/awscli/aws/install --update
- name: Set aws credentials
run: |
echo "AWS_ACCESS_KEY_ID=${{secrets.S3_ACCESS_KEY_ID}}" >> $GITHUB_ENV
echo "AWS_SECRET_ACCESS_KEY=${{secrets.S3_ACCESS_KEY}}" >> $GITHUB_ENV
echo "AWS_DEFAULT_REGION=us-west-2" >> $GITHUB_ENV
- name: Fetch release binaries
env:
BASE_HASH: ${{ inputs.base_hash }}
run: |
aws s3 cp "s3://vorc/iroh-relay-linux-amd64-musl-$BASE_HASH" bins/linux/amd64/iroh-relay
aws s3 cp "s3://vorc/iroh-dns-server-linux-amd64-musl-$BASE_HASH" bins/linux/amd64/iroh-dns-server
aws s3 cp "s3://vorc/iroh-relay-linux-aarch64-musl-$BASE_HASH" bins/linux/arm64/iroh-relay
aws s3 cp "s3://vorc/iroh-dns-server-linux-aarch64-musl-$BASE_HASH" bins/linux/arm64/iroh-dns-server
- name: Build Docker image (iroh-relay)
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
push: ${{ inputs.publish }}
tags: n0computer/iroh-relay:latest,n0computer/iroh-relay:${{ inputs.release_version }}
target: iroh-relay
platforms: linux/amd64,linux/arm64/v8
file: docker/Dockerfile.ci
- name: Build Docker image (iroh-dns-server)
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
push: ${{ inputs.publish }}
tags: n0computer/iroh-dns-server:latest,n0computer/iroh-dns-server:${{ inputs.release_version }}
target: iroh-dns-server
platforms: linux/amd64,linux/arm64/v8
file: docker/Dockerfile.ci