Skip to content

Instantly share code, notes, and snippets.

@pmundt
Created July 27, 2020 13:39
Show Gist options
  • Save pmundt/fc608e937c3701fcebf1c768e2ce7c8a to your computer and use it in GitHub Desktop.
Save pmundt/fc608e937c3701fcebf1c768e2ce7c8a to your computer and use it in GitHub Desktop.
SODALITE image builder inputs file
source:
type: dockerfile
url: file:///path/to/Dockerfile
username: my_optional_username
password: my_optional_password
build_context:
dir_name: build_context_dir_name
# local build context
path: /path/to/local/build/context
# for Git build context
subdir: path/to/optional/subdir
url: https://url/to/git/repo.git
username: my_optional_username
password: my_optional_password_or_token
target:
registry_ip: my_registry_ip
# For single images, define the following
image_name: my_image_name
image_tag: my_image_tag
# For image variants, define as follows:
images:
- image: my_image_name
tag: my_image_tag
- image: my_image_name
tag: my_image_variant_tag
base: my_image_variant_base_image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment