Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes "build fluent operator" CI workflow #1263

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

joshuabaird
Copy link
Collaborator

@joshuabaird joshuabaird commented Jul 25, 2024

#1259 removed the platform input from the clone-docker-image-action CI workflow but failed to remove it from being passed in the "build fluent operator" workflow which resulted in this error:

The workflow is not valid. .github/workflows/build-op-image.yaml (Line: 155, Col: 18): Invalid input, platforms is not defined in the referenced workflow

This PR also fixes a Dockerhub promotion issue for the fluentd-arm64-base images.

@joshuabaird joshuabaird marked this pull request as ready for review July 25, 2024 13:08
@joshuabaird
Copy link
Collaborator Author

joshuabaird commented Jul 25, 2024

@benjaminhuo It looks like this PR workflow has been failing with the same error for a while now (403 forbidden) so I think we may have something else going on here:

Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/fluent/fluent-operator/fluent-operator:pr-1224: unexpected status from POST request to https://ghcr.io/v2/fluent/fluent-operator/fluent-operator/blobs/uploads/: 403 Forbidden

But -- the error introduced by my changes has been fixed in this PR.

@joshuabaird joshuabaird changed the title Remove platform input. Fixes "build fluent operator" CI workflow Jul 25, 2024
Signed-off-by: Josh Baird <jbaird@galileo.io>
@joshuabaird joshuabaird marked this pull request as draft July 25, 2024 14:21
Signed-off-by: Josh Baird <jbaird@galileo.io>
@@ -384,7 +384,7 @@ jobs:
- build-arm64-base-image-metadata
- build-arm64-base
with:
source_image: "${{ needs.build-arm64-base-image-metadata.outputs.IMG_NAME }}"
source_image: "${{ needs.build-arm64-base-image-metadata.outputs.IMG_NAME }}:${{ needs.build-arm64-base-image-metadata.outputs.version }}"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes a bug where we were previously promoting fluentd-latest on GHCR to "debug" tags on Dockerhub:

Promoting ghcr.io/fluent/fluent-operator/fluentd to docker.io/kubesphere/fluentd:latest-arm64-base

This fix promotes the proper images:

Promoting ghcr.io/***/fluent-operator/fluentd:9.9.9-10-arm64-base to docker.io/kubesphere/fluentd:v9.9.9-10-arm64-base

@joshuabaird joshuabaird marked this pull request as ready for review July 25, 2024 15:07
@benjaminhuo
Copy link
Member

@benjaminhuo It looks like this PR workflow has been failing with the same error for a while now (403 forbidden) so I think we may have something else going on here:

Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/fluent/fluent-operator/fluent-operator:pr-1224: unexpected status from POST request to https://ghcr.io/v2/fluent/fluent-operator/fluent-operator/blobs/uploads/: 403 Forbidden

But -- the error introduced by my changes has been fixed in this PR.

Yeah, this is a bug not introduce by your PR.

@benjaminhuo benjaminhuo merged commit 93d89e2 into fluent:master Jul 25, 2024
9 of 10 checks passed
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.

None yet

2 participants