Releases: mcmah309/containeryard
Releases · mcmah309/containeryard
v0.3.0
- Support single file modules
- Header generation on combining modules
Migrate Script
Script to migrate modules to the new format
#!/usr/bin/env bash
process_directory() {
local dir="$1"
if [[ -f "$dir/Containerfile" && -f "$dir/yard-module.yaml" ]]; then
containerfile_contents=$(cat "$dir/Containerfile")
yard_module_contents=$(cat "$dir/yard-module.yaml")
directory_name=$(basename "$dir")
output_file="$(dirname "$dir")/${directory_name}.md"
cat <<EOF > "$output_file"
\`\`\`yaml
$yard_module_contents
\`\`\`
\`\`\`Dockerfile
$containerfile_contents
\`\`\`
EOF
echo "Generated $output_file"
fi
for subdir in "$dir"/*/; do
if [[ -d "$subdir" ]]; then
process_directory "$subdir"
fi
done
}
process_directory "$(pwd)"
Full Changelog: v0.2.7...v0.3.0
v0.2.7
- Add
dist
profile
Full Changelog: v0.2.6...v0.2.7
v0.2.6
v0.2.4
- Fix shell output not trimming whitespace
Full Changelog: v0.2.3...v0.2.4
v0.2.3
- Add
update
command to update all commits in yard.yaml - Add support for environment variables as template values
- Add support for shell commands as template values
Full Changelog: v0.2.2...v0.2.3
v0.2.2
- Add Debian archive
v0.2.0
- Initial public release
Full Changelog: https://github.com/mcmah309/containeryard/commits/v0.2.0