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

Build and push the image from CI #16

Merged
merged 4 commits into from
Jul 10, 2023
Merged

Conversation

fedepaol
Copy link
Member

@fedepaol fedepaol commented Jul 3, 2023

This PR introduces building and pushing to quay from CI

Dumping to avoid rogue images we don't know the version of.

Signed-off-by: Federico Paolinelli <[email protected]>
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ${{matrix.image}}/Dockerfile
Copy link

Choose a reason for hiding this comment

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

I don't think we define the matrix here like we do in metallb

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, leftover. Removed

Dockerfile Outdated
-ldflags "-X 'frr-k8s/internal/version.gitCommit=${GIT_COMMIT}' -X 'frr-k8s/metallb/internal/version.gitBranch=${GIT_BRANCH}'" \
frr-tools/metrics/exporter.go \
&& \
# build speaker
Copy link

Choose a reason for hiding this comment

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

A leftover from metallb build speaker

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed

This includes adding the GIT_COMMIT / GIT_BRANCH, ARCH and VARIANT.
FRR-K8s must run on the same architectures as metallb.

Signed-off-by: Federico Paolinelli <[email protected]>
Additionally, removing the docker-buildx as we'll rely on the GH action
to do cross platform builds.

Signed-off-by: Federico Paolinelli <[email protected]>
Adding a workflow that will enable the release of the image on quay.

Signed-off-by: Federico Paolinelli <[email protected]>
@liornoy
Copy link

liornoy commented Jul 6, 2023

lgtm

@fedepaol fedepaol added this pull request to the merge queue Jul 10, 2023
Merged via the queue into metallb:main with commit 739112b Jul 10, 2023
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