Skip to content

Commit 6caa291

Browse files
authored
fix: remove nix from CI (#380)
1 parent 0e2ff1a commit 6caa291

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

template/.github/workflows/build.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ jobs:
348348
- name: Install syft
349349
uses: anchore/sbom-action/download-syft@7ccf588e3cf3cc2611714c2eeae48550fbc17552 # v0.15.11
350350
- name: Build Docker image and Helm chart
351-
run: make -e build
351+
run: make -e build-ci
352352
- name: Publish Docker image and Helm chart
353353
if: ${{ !github.event.pull_request.head.repo.fork }}
354354
run: make -e publish

template/Makefile.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ regenerate-nix:
148148

149149
build: regenerate-charts regenerate-nix helm-package docker-build
150150

151+
# This target is used by the CI
152+
# It doesn't make use of any nix dependencies and thus aviods building the
153+
# operator unnecessarily often.
154+
build-ci: regenerate-charts helm-package docker-build
155+
151156
publish: docker-publish helm-publish
152157

153158
check-nix:

0 commit comments

Comments
 (0)