Skip to content

Commit 4502ab3

Browse files
Clean up workspace in a better way
1 parent 0c5e26b commit 4502ab3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/generate-release/cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ steps:
9898
9999
GIT_SHA="$(</workspace/substitutions/git_sha)"
100100
101+
echo "Cleaning workspace..."
102+
git clean -fd -e "substitutions/" -e "build-log.txt"
101103
echo "Checking out $${GIT_SHA}..."
102104
git checkout "$${GIT_SHA}"
103105
@@ -138,8 +140,6 @@ steps:
138140
for TAG in "$${TAGS[@]}"; do
139141
IMAGES+=("-t" "gcr.io/${PROJECT_ID}/kf-thirdparty:$${TAG}")
140142
done
141-
142-
echo "third_party/forked/v2-buildpack-lifecycle/installer/kodata" > .dockerignore
143143
docker build \
144144
-f ./cmd/generate-release/scripts/Dockerfile.thirdparty \
145145
"$${IMAGES[@]}" .

0 commit comments

Comments
 (0)