Skip to content

Commit 39104ef

Browse files
Chad Shawclaude
andcommitted
🏗️ Optimize Docker builds and release workflow
- Update Dockerfile.release to use ignite-linux-amd64 instead of ignite-x86_64 - Remove redundant Docker tag {{major}}.{{minor}} to avoid v2.0 when we have v2.0.0 - Remove duplicate ignite-x86_64 binary from release workflow - Standardize on clear platform naming (ignite-linux-amd64, ignite-linux-arm64, etc.) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 58266ee commit 39104ef

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/docker_build.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
type=ref,event=branch
9595
type=ref,event=pr
9696
type=semver,pattern={{version}}
97-
type=semver,pattern={{major}}.{{minor}}
9897
type=semver,pattern={{major}}
9998
type=raw,value=latest,enable={{is_default_branch}}
10099
@@ -133,7 +132,6 @@ jobs:
133132
GOOS=darwin GOARCH=amd64 go build -o ignite-darwin-amd64 .
134133
GOOS=darwin GOARCH=arm64 go build -o ignite-darwin-arm64 .
135134
GOOS=windows GOARCH=amd64 go build -o ignite-windows-amd64.exe .
136-
GOOS=linux GOARCH=amd64 go build -o ignite-x86_64 .
137135
138136
- name: Create Release
139137
uses: softprops/action-gh-release@v2
@@ -144,6 +142,5 @@ jobs:
144142
ignite-darwin-amd64
145143
ignite-darwin-arm64
146144
ignite-windows-amd64.exe
147-
ignite-x86_64
148145
generate_release_notes: true
149146
make_latest: true

Dockerfile.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /app
2121

2222
# Download the pre-built binary from GitHub release
2323
# Use curl with follow redirects for better GitHub releases handling
24-
RUN curl -L -o ./ignite https://github.com/chadleeshaw/ignite/releases/download/v2.0.0/ignite-x86_64 && \
24+
RUN curl -L -o ./ignite https://github.com/chadleeshaw/ignite/releases/download/v2.0.0/ignite-linux-amd64 && \
2525
chmod +x ./ignite
2626

2727
# Copy public files

0 commit comments

Comments
 (0)