Fix build spec
@@ -31,19 +31,21 @@ class BuildSpecification(BaseSpecification, EnvironmentSpecificationMixin):
COMMIT = 'commit'
CONTEXT = 'context'
DOCKERFILE = 'dockerfile'
+ LANG_ENV = 'lang_env'
IMAGE = 'image'
+ REF = 'ref'
SECTIONS = BaseSpecification.SECTIONS + (
- BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, IMAGE)
+ BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, LANG_ENV, IMAGE, REF)
OP_PARSING_SECTIONS = BaseSpecification.OP_PARSING_SECTIONS + (
- BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, IMAGE)
+ BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, LANG_ENV, IMAGE, REF)
HEADER_SECTIONS = BaseSpecification.HEADER_SECTIONS + (BaseSpecification.BACKEND, )
POSSIBLE_SECTIONS = BaseSpecification.POSSIBLE_SECTIONS + (
BaseSpecification.BACKEND, BaseSpecification.ENVIRONMENT,
- BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, IMAGE
+ BUILD_STEPS, ENV_VARS, NOCACHE, BRANCH, COMMIT, CONTEXT, DOCKERFILE, LANG_ENV, IMAGE, REF
)
CONFIG = BuildConfig
