Artifacts to build containerized Swift applications with Tekton.
Swift has supported Linux since version 2.2. Newer releases of Swift added the possibility to build Linux executables with the statically linked musl libc. By building Swift applications for Linux with a statically linked C library, the binary can be shipped in a raw Linux container with minimal footprint and no dependency.
With the right builder image with a full toolchain, a Swift server application for Linux can be built with Tekton on Kubernetes cluster.
Tasks breakdown of a Pipeline with a PVC workspace shared by all Tasks would be:
git-clone > compile project > Buildah with ADD compiled_binary_file_from_previous_task