-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
Dumping to avoid rogue images we don't know the version of. Signed-off-by: Federico Paolinelli <[email protected]>
.github/workflows/publish.yaml
Outdated
context: . | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
file: ${{matrix.image}}/Dockerfile |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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]>
lgtm |
This PR introduces building and pushing to quay from CI