Skip to content

Commit

Permalink
Merge pull request #25 from maiqueb/fix-github-release-container-img
Browse files Browse the repository at this point in the history
Fix GitHub release container img
  • Loading branch information
maiqueb authored Jun 10, 2024
2 parents 1e9d40a + 68d3496 commit 81c445c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Template release manifests
if: startsWith(github.ref, 'refs/tags/')
run: IMG=${{ github.ref_name }} make build-installer
run: IMG=ghcr.io/${{ github.repository }}:${{ github.ref_name }} make build-installer

- name: Release the kraken
uses: softprops/action-gh-release@v1
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
.PHONY: build-installer
build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment.
mkdir -p dist
@if [ -d "config/crd" ]; then \
$(KUSTOMIZE) build config/crd > dist/install.yaml; \
fi
echo "---" >> dist/install.yaml # Add a document separator before appending
echo "---" > dist/install.yaml # Add a document separator before appending
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default >> dist/install.yaml

Expand Down
1 change: 0 additions & 1 deletion dist/install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

---
apiVersion: v1
kind: Namespace
Expand Down

0 comments on commit 81c445c

Please sign in to comment.