Skip to content

Commit 8c17152

Browse files
committed
ci(release): ignore buildkitd.toml dropped by Blacksmith builder
useblacksmith/setup-docker-builder drops a buildkitd.toml in the repo root, which trips goreleaser's dirty-state check. Exclude the file via .git/info/exclude before goreleaser runs so that release:published builds and workflow_dispatch backfills of older tags both see a clean working tree. v2.5.0 and v2.6.0 shipped without release artifacts because of this.
1 parent e3abea1 commit 8c17152

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
- name: Setup Blacksmith Builder
5454
uses: useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1
5555

56+
# useblacksmith/setup-docker-builder drops buildkitd.toml in the repo
57+
# root, which trips goreleaser's dirty-state check. Exclude it locally
58+
# so both release:published runs and workflow_dispatch backfills of
59+
# older tags see a clean working tree.
60+
- name: Ignore buildkitd.toml locally
61+
run: echo buildkitd.toml >> .git/info/exclude
62+
5663
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
5764
with:
5865
registry: ${{ env.REGISTRY }}

0 commit comments

Comments
 (0)