You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, you can use {{defaultContext}} in a context expression. However, the same capability does not exist for build-contexts as the HandleBars invocation is absent.
In my case, I am referencing shared code within a repo that contains many separate compilation and deployment targets that are not built into a single container.
Thanks!
The text was updated successfully, but these errors were encountered:
Description
As of now, you can use
{{defaultContext}}
in acontext
expression. However, the same capability does not exist forbuild-contexts
as the HandleBars invocation is absent.As a workaround, I am embedding the Git reference directly, from this code: https://github.com/docker/actions-toolkit/blob/0a8b89fa07de1dd2de1da2590b6ce3f0378cca9d/src/context.ts#L54-L56
In my case, I am referencing shared code within a repo that contains many separate compilation and deployment targets that are not built into a single container.
Thanks!
The text was updated successfully, but these errors were encountered: