Skip to content

Releases: rancherlabs/swiss-army-knife-v2

swiss-army-knife v2.0.1

31 Aug 23:10
v2.0.1
e2beb78
Compare
Choose a tag to compare

swiss-army-knife v2.0.1 🔧

Patch release fixing Docker Hub authentication in the release workflow to enable proper container publishing.

🐛 Bug Fixes

Release Workflow Authentication

  • Fixed Docker Hub credentials typo in release workflow
  • Corrected secret paths from credentialss to credentials
  • Enables container publishing to Docker Hub and Rancher Prime Registry
  • Resolves v2.0.0 publishing issues for current and future releases

🔧 Technical Details

What Was Fixed

# Before (broken)
secret/data/github/repo/.../dockerhub/credentialss username
secret/data/github/repo/.../dockerhub/credentialss password

# After (working)  
secret/data/github/repo/.../dockerhub/credentials username
secret/data/github/repo/.../dockerhub/credentials password

Impact

  • Enables automated container publishing for releases
  • Fixes Docker Hub authentication during release workflow
  • No functional changes to the swiss-army-knife container itself
  • All v2.0.0 features preserved with improved release process

📦 Container Images

This release publishes to:

  • Docker Hub: rancherlabs/swiss-army-knife:v2.0.1 and rancherlabs/swiss-army-knife:latest
  • Rancher Prime Registry: Enterprise-grade container registry

🚀 Features (unchanged from v2.0.0)

  • Multi-stage Docker build with Go echo-server application
  • Comprehensive debugging tools: networking, system, build tools
  • Latest stable kubectl with autocompletion
  • Enhanced reliability with standard SUSE BCI repositories
  • GitHub Actions integration with Trivy security scanning

Full Changelog: v2.0.0...v2.0.1

🤖 Generated with Claude Code

swiss-army-knife v2.0.0

31 Aug 22:40
v2.0.0
9003e52
Compare
Choose a tag to compare

swiss-army-knife v2.0.0 🚀

Major release featuring comprehensive debugging tools, Docker build improvements, and enhanced reliability.

🎯 Key Features

Multi-Stage Docker Build

  • Go echo-server application for testing and debugging
  • Static binary compilation for minimal footprint
  • Comprehensive tool installation with robust error handling

Comprehensive Debugging Tools

  • Networking: tcpdump, traceroute, telnet, netcat, dig, nslookup, socat, iperf, mtr
  • System: curl, wget, tree, vim, less, jq, openssl, iptables, ethtool
  • Build: gcc, make, automake, autoconf, gawk, libtool
  • Kubernetes: Latest stable kubectl with autocompletion

Enhanced Reliability

  • Fixed Docker build failures with standard SUSE BCI repositories
  • Graceful fallbacks for optional packages (conntrack, mtr, iperf)
  • Comprehensive error handling for missing dependencies
  • GitHub Actions integration with Trivy security scanning

🔧 Usage

Quick Start

# Run as debugging container
docker run -it rancherlabs/swiss-army-knife:v2.0.0

# Attach to existing container network namespace  
docker run --net=container:TARGET_CONTAINER -it rancherlabs/swiss-army-knife:v2.0.0

# Use with containerd
ctr run --rm rancherlabs/swiss-army-knife:v2.0.0 debug-tools bash

Echo Server

The container now includes a built-in echo server that provides:

  • HTTP endpoint on port 8080 for testing connectivity
  • Request/response debugging with detailed JSON output
  • Kubernetes pod information from environment variables

🛡️ Security & Quality

  • Base image: SUSE BCI 15.7 for enterprise stability
  • Security scanning: Integrated Trivy vulnerability detection
  • Signed commits: GPG-signed development process
  • Clean dependencies: Standard repository packages only

🔄 What's Changed

Docker Build Improvements

  • Removed external repository dependencies that caused 404 errors
  • Added package installation fallbacks for maximum compatibility
  • Standard SUSE BCI repositories for reliable builds
  • Comprehensive error handling in package installation

Tool Updates

  • Latest stable kubectl instead of multiple versions
  • Enhanced networking tools with optional installations
  • Improved documentation with containerd examples
  • GitHub Actions workflows for automated testing and releases

📦 Container Images

This release publishes to:

  • Docker Hub: rancherlabs/swiss-army-knife:v2.0.0 and rancherlabs/swiss-army-knife:latest
  • Rancher Prime Registry: Enterprise-grade container registry

Full Changelog: v1.0.0...v2.0.0

🤖 Generated with Claude Code