Skip to content

Support --pull for build/publish commands

Compare
Choose a tag to compare
@alexellis alexellis released this 08 Aug 16:33
· 4 commits to master since this release

Changelog for 0.16.34:

Commits
f509dd3 Support --pull for build/publish commands by @alexellis

The --pull flag is supported by Docker and forces a pull
attempt to be made for base images for the case that there
is a newer version available.

The main use-case for this is when teams are publishing
production or internal images directly from their own machines
which accumulate older images.

This is not needed in CI pipelines which start with an empty
library, so always pull the base images fresh from source.

Example:

faas-cli build --pull -f stack.yml && faas-cli push -f stack.yaml or

faas-cli publish --pull -f stack.yml

Changes: 0.16.33...0.16.34

Generated by Derek