Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/flux-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,8 @@ jobs:
BRANCH_NAME: ${{ env.BRANCH_NAME }}
PUSH_TO_SECONDARY_REGISTRY: ${{ inputs.push-to-aws-ecr }}
SECONDARY_REGISTRY: ${{ secrets.aws-ecr-registry }}
run: cd ./code && skaffold build --filename=../${{ inputs.skaffold-file }}
run: cd ./code && skaffold build --filename=../${{ inputs.skaffold-file }} 2>&1 | tee ../skaffold.log
- name: Output build summary
run: |-
echo "# Built images" >> $GITHUB_STEP_SUMMARY
grep -E '^ - .+ ->' skaffold.log >> $GITHUB_STEP_SUMMARY
9 changes: 8 additions & 1 deletion pkg/common/flux-build.cue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@ package common
PUSH_TO_SECONDARY_REGISTRY: "${{ inputs.push-to-aws-ecr }}"
SECONDARY_REGISTRY: "${{ secrets.aws-ecr-registry }}"
}
run: "cd ./code && skaffold build --filename=../${{ inputs.skaffold-file }}"
run: "cd ./code && skaffold build --filename=../${{ inputs.skaffold-file }} 2>&1 | tee ../skaffold.log"
},
{
name: "Output build summary"
run: """
echo "# Built images" >> $GITHUB_STEP_SUMMARY
grep -E '^ - .+ ->' skaffold.log >> $GITHUB_STEP_SUMMARY
"""
}
]
}
Loading