Skip to content

Commit

Permalink
Add missing tags property to options for builder v3
Browse files Browse the repository at this point in the history
  • Loading branch information
audgirka committed Sep 24, 2024
1 parent 3b5bee1 commit 7a7bf29
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ansiblelint/schemas/execution-environment.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,13 @@
"workdir": {
"description": "Default working directory, also often the homedir for ephemeral UIDs",
"type": ["string", "null"]
},
"tags": {
"description": "A list of names to assign to the resulting image if build process completes successfully",
"type": "array",
"items": {
"type": "string"
}
}
},
"type": "object"
Expand Down
5 changes: 5 additions & 0 deletions test/schemas/test/execution-environment-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ additional_build_steps:
append_base:
- RUN echo This is a post-install command!
- RUN ls -la /etc

options:
package_manager_path: /usr/bin/dnf
tags:
- automation-hub.my.company.com/ee-supported-rhel9_foo:latest

0 comments on commit 7a7bf29

Please sign in to comment.