File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : v1.5 .1
2+ _commit : v1.6 .1
33_src_path : https://github.com/DeveloperC286/template
44project_name : clean_git_history
5+ uses_git : true
Original file line number Diff line number Diff line change @@ -82,10 +82,13 @@ publish-binary: release
8282publish-crate :
8383 cargo publish --verbose
8484
85+ # Emulate GitHub Actions CI environment for testing
86+ GITHUB_ACTIONS_ENV := --env HOME=/github/home --env GITHUB_ACTIONS=true --env CI=true
87+
8588.PHONY : dogfood-docker
8689dogfood-docker : release
8790 docker build --build-arg TARGET=$(MUSL_TARGET ) --tag clean_git_history --file Dockerfile .
88- docker run --rm --volume $(PWD ) :/workspace --workdir /workspace --env HOME=/github/home --env GITHUB_ACTIONS=true --env CI=true clean_git_history $(FROM )
91+ docker run --rm --volume $(PWD ) :/workspace --workdir /workspace $( GITHUB_ACTIONS_ENV ) clean_git_history --verbose $(FROM )
8992
9093.PHONY : publish-docker-image
9194publish-docker-image :
You can’t perform that action at this time.
0 commit comments