We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5742944 commit ce6e465Copy full SHA for ce6e465
.github/workflows/bake.yml
@@ -222,11 +222,13 @@ jobs:
222
if (bakeFiles.length === 0) {
223
bakeFiles = ['docker-bake.hcl'];
224
}
225
- bakeFiles.push(`cwd://${inpBakeFileTags}`);
226
- if (inpSetMetaAnnotations) {
+ if (inpBakeFileTags) {
+ bakeFiles.push(`cwd://${inpBakeFileTags}`);
227
+ }
228
+ if (inpSetMetaAnnotations && inpBakeFileAnnotations) {
229
bakeFiles.push(`cwd://${inpBakeFileAnnotations}`);
230
- if (inpSetMetaLabels) {
231
+ if (inpSetMetaLabels && inpBakeFileLabels) {
232
bakeFiles.push(`cwd://${inpBakeFileLabels}`);
233
234
core.info(JSON.stringify(bakeFiles, null, 2));
0 commit comments