Skip to content

Commit

Permalink
ci: fix docker driver platforms (fixes k239 release) (#16095)
Browse files Browse the repository at this point in the history
We only publish amd64 and arm64 versions of the docker driver, and only have a build image for those platforms, so this removes linux/arm as a target.

Co-authored-by: Christian Haudum <[email protected]>
  • Loading branch information
trevorwhitney and chaudum authored Feb 5, 2025
1 parent bebd153 commit 9a36eca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/release-workflows.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local imageJobs = {
'loki-canary-boringcrypto': build.image('loki-canary-boringcrypto', 'cmd/loki-canary-boringcrypto', platform=platforms.all),
promtail: build.image('promtail', 'clients/cmd/promtail', platform=platforms.all),
querytee: build.image('loki-query-tee', 'cmd/querytee', platform=platforms.amd),
'loki-docker-driver': build.dockerPlugin('loki-docker-driver', dockerPluginDir, buildImage=buildImage, platform=platforms.all),
'loki-docker-driver': build.dockerPlugin('loki-docker-driver', dockerPluginDir, buildImage=buildImage, platform=[r.forPlatform('linux/amd64'), r.forPlatform('linux/arm64')]),
};

local weeklyImageJobs = {
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/minor-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,6 @@ jobs:
- arch: "linux/arm64"
runs_on:
- "github-hosted-ubuntu-arm64-small"
- arch: "linux/arm"
runs_on:
- "github-hosted-ubuntu-arm64-small"
promtail:
needs:
- "version"
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/patch-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,6 @@ jobs:
- arch: "linux/arm64"
runs_on:
- "github-hosted-ubuntu-arm64-small"
- arch: "linux/arm"
runs_on:
- "github-hosted-ubuntu-arm64-small"
promtail:
needs:
- "version"
Expand Down

0 comments on commit 9a36eca

Please sign in to comment.