Skip to content

Releases: youscan/gitactions-slack-notification

v3.0.0 - GitHub Container Registry Migration

20 Oct 17:52
8bf9162

Choose a tag to compare

🚀 Major Release: Migration to GitHub Container Registry

This is a major release that migrates the action from Docker Hub to GitHub Container Registry (GHCR) with significant improvements including multiplatform support, security enhancements, and performance optimizations.

💥 Breaking Changes

  • Action reference changed: Use youscan/gitactions-slack-notification@3.0.0 instead of bryannice/gitactions-slack-notification@2.0.0
  • Docker image location: Now hosted at ghcr.io/youscan/gitactions-slack-notification
  • No Docker Hub credentials needed: Uses GitHub's built-in GITHUB_TOKEN for authentication

✨ What's New

🌍 Multiplatform Support

  • Native support for both linux/amd64 and linux/arm64 platforms
  • Works seamlessly on Apple Silicon Macs (M1/M2/M3)
  • Full support for ARM-based servers and cloud instances
  • Automatic platform detection and selection

🔒 Security Improvements

  • Distroless base image: Minimal attack surface with gcr.io/distroless/static:nonroot
  • Static binary compilation: No dynamic dependencies (CGO_ENABLED=0)
  • Non-root user: Runs as user 65532:65532 for enhanced security
  • Significantly smaller image size

⚡ Performance Optimizations

  • Faster builds: Optimized cross-compilation with Buildx platform variables
  • Removed unnecessary flags: Eliminated -a flag that forced rebuilding all packages
  • Efficient multiplatform builds: Proper TARGETOS and TARGETARCH usage
  • Build time: ~3s for arm64, ~14s for amd64

📦 Dependency Updates

  • Updated Golang: 1.15.6 → 1.25.3 (major version upgrade)
  • Updated base images: Golang 1.25.3, Distroless static
  • Deprecated command fixes: Replaced ::set-output with $GITHUB_OUTPUT
  • Updated GitHub Actions: All workflow actions updated to latest versions
  • Added Dependabot: Automated dependency updates configured

📦 Container Images

Multi-arch images are now available at:

  • ghcr.io/youscan/gitactions-slack-notification:3.0.0
  • ghcr.io/youscan/gitactions-slack-notification:latest

Supported Platforms:

  • linux/amd64 (Intel/AMD x86_64)
  • linux/arm64 (Apple Silicon, ARM servers)

🔄 Migration Guide

Update your workflow file from:

- uses: bryannice/gitactions-slack-notification@2.0.0

To:

- uses: youscan/gitactions-slack-notification@3.0.0

No other changes required! All environment variables remain the same.

📝 Full Changelog

Commits in this release:

  • perf: optimize multiplatform build with proper cross-compilation
  • feat: add multiplatform Docker image support
  • fix: use distroless base image and static binary
  • fix: correct binary path in Docker image
  • docs: update CHANGELOG for 3.0.0 with complete changes
  • chore(deps): bump alpine from 3.12 to 3.22 in /build/docker
  • chore(deps): bump golang from 1.15.6 to 1.25.3 in /build/docker
  • refactor: simplify Dockerfile and remove build-arg complexity
  • fix: add packages write permission to CD workflow
  • chore: prepare release 3.0.0

🙏 Contributors

This release was made possible by:

🤖 Generated with Claude Code