Skip to content

v1.0.0-alpha.18

Compare
Choose a tag to compare
@getporterbot getporterbot released this 05 Apr 19:03
· 1151 commits to main since this release
00e7f8d

Overview

This release adds a bunch of useful docker features: build-arg, secret, ssh, improved layer caching and proxy support. A blog post is coming soon but at a high level, these flags give you the tool you need to more fully customize and control what is exposed in your bundle:

  • Parameterize your bundle based on build arguments
  • Download protected assets by and include them in your bundle by mounting secrets
  • Clone private git repositories using a local ssh connection

Porter now builds with Docker buildkit by default. If you were previously using the experimental flag to enable buildkit and select a build-driver that is no longer necessary. Porter uses the latest Dockerfile syntax, 1.4.0 to speed up builds by improving how apt packages are cached and linking the bundle source code with the new COPY --link flag.

Porter now uses your local Docker client config so you can build bundles behind a proxy.

Give it a try and please send us any feedback on how it’s working, if there are any remaining gaps or Docker features that you need.

Features

  • Add installation.namespace template var #2001 by @jemgoss
  • Support additional docker flags and remove legacy docker build driver #1999 by @carolynvs

Fixes

  • Check manifest schemaVersion in Porter commands before executing #1997 by @carolynvs
  • Make runtime manifest log output debug messages #2005 by @carolynvs
  • Support stringArray cobra flag type #1998
  • Fix duplicate error message when command fails #1995

Misc

  • Fix website BASEURL #2003 by @carolynvs
  • Add GitHub action to scan our code and porter-agent image #1994