Skip to content

Commit

Permalink
func build init
Browse files Browse the repository at this point in the history
  • Loading branch information
gauron99 committed Dec 12, 2024
1 parent ffcb2ba commit ef874b7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ jobs:
version: ${{ env.FUNC_VERSION }}
name: f

- name: Deploy Functions
- name: Deploy Function
run: |
language=${{matrix.language}}
echo "Current language: $language"
echo "HOST_ENABLED? ${{env.HOST_ENABLED}}"
# This takes the array of paths, wraps it in single quotes for jq, then
# selects only the value that matches with language to get current
Expand All @@ -69,6 +67,13 @@ jobs:
ls -la ${GITHUB_WORKSPACE}
template=$(basename "$template_dir_abs")
echo "f create $language-$template -r=$url -l=$language -t=$template"
## FUNC CREATE
f create $language-$template -r "$url" -l "$language" -t "$template"
#FUNC_ENABLE_HOST_BUILDER=1 FUNC_BUILDER=host FUNC_CONTAINER=false FUNC_REGISTRY=docker.io/4141gauron3268 f
## FUNC BUILD
if ${{env.HOST_ENABLED}}; then
FUNC_ENABLE_HOST_BUILDER=1 FUNC_BUILDER=host FUNC_CONTAINER=false FUNC_REGISTRY=docker.io/4141gauron3268 f build
else
FUNC_REGISTR=docker.io/4141gauron3268 f build
done

0 comments on commit ef874b7

Please sign in to comment.