The catalog of task definitions for Swale workflows — the reusable building blocks a workflow chains together to move data, build code, fine-tune models, run inference, and more.
Each task is a Markdown file with YAML frontmatter. Swale imports it and renders
the Markdown body as the task's documentation page. Tasks run as containers on
Swale's compute; some reference public vendor images, others reference images
built from this repo and published to Docker Hub under
docker.io/swaleio.
Reference a task by account/name@version:
name: Checkout example
compute_type: cpu-4
entry_point: main
blocks:
main:
tasks:
checkout:
name: Checkout
uses: swaleio/git-clone
args:
repository_url: https://github.com/acme/app.git
dest: ${{env.WORKFLOW_STORAGE}}/reponame, compute_type, entry_point and blocks are all required; tasks live
inside a block, and entry_point names the block execution starts from.
compute_type names the machine each task runs on unless the task sets its
own; cpu-4 is one of the
compute types
the platform offers.
tasks/<name>/task.md # one file per task; versions are git tags '<name>/<version>'
images/<name>/ # Dockerfile + entrypoint + README for swale-built images
docs/container-contract.md # the runtime contract every image must honor
.github/workflows/ # lint (PRs) + release (tags) + publish images (main)
A task version is released by pushing a tag <name>/<version> (e.g.
git-clone/2.54.0), which freezes tasks/<name>/task.md as that immutable
version and imports it into the platform. A definition's version is the version
of the tool it runs, read from its image's tag.
See CONTRIBUTING.md for the authoring rules, the two task forms (fixed vs free-form), and the container contract. CI enforces the schema, digest-pinning, and naming on every pull request.
The images built from this repository contain software from other projects: the base distribution's packages, the tool each image is built around, and that tool's dependencies. Each of them is under its own license; the MIT License covers only the files in this repository. We do not modify that software.
License texts. Images built on Debian or Ubuntu carry the license texts and
copyright notices their software ships with: /usr/share/doc/<package>/copyright
and /usr/share/common-licenses for the distribution's packages, the
*.dist-info directory of each Python package, and /usr/share/licenses or the
tool's own directory for a tool installed another way.
Source code. Some of that software, such as Bash, Git, FFmpeg, Blender and
the GNU C Library, is under the GNU GPL or LGPL, which entitle you to its source
code. Each image records the exact name and version of every package in it:
list them with dpkg-query -W -f '${source:Package} ${source:Version}\n' on
Debian and Ubuntu, apk list -I on Alpine and pip list for Python packages.
The corresponding source code is published at:
- Debian packages:
https://snapshot.debian.org/package/<source-package>/<version>/ - Ubuntu packages:
https://launchpad.net/ubuntu/+source/<source-package>/<version> - Alpine packages: build files at https://gitlab.alpinelinux.org/alpine/aports, mirrored at https://github.com/alpinelinux/aports, and upstream sources at https://distfiles.alpinelinux.org/
- Python packages:
https://pypi.org/project/<name>/<version>/#files. The compiler runtime libraries inside some wheels (libgfortran, libgomp, libquadmath) are part of GCC: https://gcc.gnu.org/ - FFmpeg, which OpenCV's Python package bundles: https://ffmpeg.org/releases/, in the release OpenCV's build files name for that wheel.
- Blender: https://download.blender.org/source/
- rclone:
https://github.com/rclone/rclone/tree/v<version>. It builds in sddl, a Go module under LGPL-3.0: https://github.com/cloudsoda/sddl, at the version rclone'sgo.modnames. - The libraries the Codex CLI package bundles: GStreamer, GLib and libintl from
the source archives its
codex-resources/voice/sources.jsonlists, and bubblewrap fromhttps://github.com/openai/codex/tree/rust-v<version>/codex-rs/vendor/bubblewrap. - JavaScriptCore (WebKit) and TinyCC, which Bun builds into the OpenCode binary:
Bun's source at
https://github.com/oven-sh/bun/tree/bun-v<version>, where<version>is the Bun version OpenCode'spackage.jsonnames, and Bun's WebKit at https://github.com/oven-sh/WebKit. - JavaScriptCore (WebKit) and TinyCC, which Bun builds into the Claude Code
binary: Bun's WebKit at
https://github.com/oven-sh/WebKit/tree/<commit>and Bun's TinyCC athttps://github.com/oven-sh/tinycc/tree/<commit>, where each<commit>is the one the binary names.
Written offer. We also provide that source code ourselves. For as long as we distribute an image, and for at least three years after we last did, anyone may write to legal@swale.io, naming the image, its tag or digest and the component, and we will supply a complete machine-readable copy of the corresponding source code of any GPL- or LGPL-licensed component in it, by download or on a physical medium, for no more than our cost of physically performing the distribution.
NVIDIA software. The GPU images also contain NVIDIA software, such as the CUDA and cuDNN libraries. It is not open source. NVIDIA licenses it under its own terms, and by pulling or using one of these images you accept them:
- Images built on NVIDIA's CUDA image: the
NVIDIA Deep Learning Container License.
A copy is inside the image at
/NGC-DL-CONTAINER-LICENSE. - Images that get NVIDIA's libraries with PyTorch or Ollama: NVIDIA's license
agreements for those libraries, chiefly the
license agreement for the CUDA Toolkit
and the
license agreement for cuDNN.
In the PyTorch-based images, the
nvidia-*Python packages carry NVIDIA's license texts.
Among other things, those terms license the NVIDIA software to run only on systems with NVIDIA GPUs, and they do not allow reverse engineering it or distributing it on its own.
Intel software. The images that contain PyTorch also contain Intel's oneAPI
Math Kernel Library, which is built into PyTorch, and the images that contain
OpenCV's Python package (docling, vllm and lm-eval) also contain Intel's
Integrated Performance Primitives, which are built into OpenCV. Neither is open
source. Intel licenses both under the
Intel Simplified Software License,
and by pulling or using one of these images you accept it. Among other things,
it allows using and redistributing the libraries only without modification,
does not allow reverse engineering them, and says they are not intended for
systems in which a failure may cause injury or death. In the axolotl, docling,
mergekit and trl images the license text is at
/usr/share/licenses/intel-onemkl/LICENSE.
In the docling, vllm and lm-eval images, OpenCV carries it for the Integrated
Performance Primitives in its LICENSE-3RD-PARTY.txt.
Claude Code. The claude-code image contains Claude Code, Anthropic's
coding agent. It is not open source. Anthropic licenses it under its own terms,
and your use of it is subject to them:
https://code.claude.com/docs/en/legal-and-compliance. We ship it unmodified,
as Anthropic publishes it. To use it you sign in with your own Anthropic API key
or cloud provider credential, and Anthropic or that provider bills you directly.
GitHub Copilot CLI. The copilot-cli image contains GitHub Copilot CLI. It
is not open source. GitHub licenses it under the GitHub Copilot CLI License, and
your use of it is subject to that license; a copy is inside the image at
/usr/share/licenses/github-copilot-cli/LICENSE.md. We ship it unmodified.
Using GitHub Copilot through it needs your own GitHub account and plan, under
GitHub's terms.