Skip to content

Commit 1aa6fa3

Browse files
Merge pull request #40 from CoverGo/fix/fail-when-build-nuget-package
fix: on claim service, when build Nuget package image, the json is nu…
2 parents adabc4b + a32761c commit 1aa6fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gflows/libs/steps.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ with:
115115
#@ build_args.append("COMMIT_SHA=${{ github.sha }}")
116116
#@ build_args.append("GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}")
117117
#@ if build_versioned_image:
118-
#@ build_args.append("BUILD_DATETIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}")
118+
#@ build_args.append("BUILD_DATETIME=${{ steps.meta.outputs.json && fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}")
119119
#@ build_args.append("APP_VERSION=${{ needs.version.outputs.app_version }}")
120120
#@ build_args.append("FILE_VERSION=${{ needs.version.outputs.file_version }}")
121121
#@ build_args.append("INFORMATIONAL_VERSION=${{ needs.version.outputs.information_version }}")

0 commit comments

Comments
 (0)