inspec/dobi.yaml
Tom Duffield 7c1db11621
Update Dobi annotations to address tagging bug
Be explicit when we expect to add the channel and latest tags.

Signed-off-by: Tom Duffield <github@tomduffield.com>
2021-04-19 15:28:08 -05:00

22 lines
738 B
YAML

# Chef Expeditor uses this file to build the chef/inspec Docker image using Dobi (dnephin/dobi)
#
# If you wish to build the chef-workstation Docker image, you do not need to use this file.
# You can build the Docker image for yourself by simply running:
#
# docker build .
#
# For more information on how this file is used, please check out the Chef Expeditor docs:
# https://expeditor.chef.io/docs/pipelines/docker/
image=chef:
image: '{env.IMAGE_REGISTRY}/inspec'
context: .
tags:
- '{env.EXPEDITOR_VERSION}'
args:
VERSION: '{env.EXPEDITOR_VERSION}'
CHANNEL: unstable
annotations:
tags:
- expeditor:default-tags={{channel}}
- expeditor:final-channel-tags=latest,{{major}},{{major}}.{{minor}}