Skip to content
Open
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
9 changes: 8 additions & 1 deletion .github/workflows/generate-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,17 @@ jobs:
[ "$VERSION" == "main" ] && VERSION=$(echo ${{ github.sha }} | cut -c1-8)
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
make docker-build docker-push split-installer IMG=$IMAGE_ID:$VERSION
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_ENV
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

echo "VERSION=$VERSION" >> $GITHUB_ENV
make docker-build split-installer IMG=$IMAGE_ID:$VERSION
mkdir -p manifests/controller
cp dist/* manifests/controller/
- name: Push docker image
if: github.event.pull_request.merged == true
run: |
make docker-push IMG=$IMAGE_ID:$VERSION
- name: Commit changes
if: github.event.pull_request.merged == true
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down