Skip to content

Fix GitHub Action build failures#40

Merged
JoshuaAFerguson merged 1 commit into
mainfrom
claude/fix-github-action-build-01QaJB9LE46uwFKPHo1qPbxv
Nov 16, 2025
Merged

Fix GitHub Action build failures#40
JoshuaAFerguson merged 1 commit into
mainfrom
claude/fix-github-action-build-01QaJB9LE46uwFKPHo1qPbxv

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Member

Adds 'go mod tidy' step before the Go build command in both API and Controller Dockerfiles to ensure go.mod and go.sum are synchronized with the source code dependencies.

This fixes the GitHub Actions build failure:
"go: updates to go.mod needed; to update it: go mod tidy"

Changes:

  • api/Dockerfile: Add go mod tidy step after copying source code
  • controller/Dockerfile: Add go mod tidy step after copying source code

The cosign installation in GitHub Actions workflow already uses the official sigstore/cosign-installer@v3 action which properly supports Linux/amd64 and Linux/arm64 platforms.

Adds 'go mod tidy' step before the Go build command in both API and
Controller Dockerfiles to ensure go.mod and go.sum are synchronized
with the source code dependencies.

This fixes the GitHub Actions build failure:
"go: updates to go.mod needed; to update it: go mod tidy"

Changes:
- api/Dockerfile: Add go mod tidy step after copying source code
- controller/Dockerfile: Add go mod tidy step after copying source code

The cosign installation in GitHub Actions workflow already uses the
official sigstore/cosign-installer@v3 action which properly supports
Linux/amd64 and Linux/arm64 platforms.
@JoshuaAFerguson JoshuaAFerguson merged commit 2cba58c into main Nov 16, 2025
9 of 23 checks passed
@JoshuaAFerguson JoshuaAFerguson deleted the claude/fix-github-action-build-01QaJB9LE46uwFKPHo1qPbxv branch November 16, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants