Skip to content

Commit

Permalink
Update build.yml (#325)
Browse files Browse the repository at this point in the history
#!skip-build!#
#!skip-deploy!#

Signed-off-by: Nikita Petko <petko@vmminfra.net>
  • Loading branch information
nikita-petko authored Jul 3, 2024
1 parent 930395a commit bf3eecb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,12 @@ jobs:
let deployableComponentsMap = '';
for (const component of deployableComponents.split(',')) {
const [name] = component.split(':');
const [name, version] = component.split(':');
if (!version) version = 'latest';
if (deployableComponents.includes(name)) {
deployableComponentsMap += `${component},`;
deployableComponentsMap += `${component}:${version},`;
}
}
Expand Down

0 comments on commit bf3eecb

Please sign in to comment.