-
Notifications
You must be signed in to change notification settings - Fork 39
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
L3AFd Docker build CI integration #416
Conversation
Building the Docker image and uploading it to Artifactory as part of CI build. Signed-off-by: aka320 <[email protected]>
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.
LGTM
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.
LGTM
.github/workflows/ci-build.yaml
Outdated
sudo cp ./config/l3afd.cfg ./build-docker | ||
sudo cp l3afd ./build-docker | ||
sudo docker build -t l3afd:v2.0.0 -f ./build-docker/Dockerfile ./build-docker | ||
sudo docker save l3afd:v2.0.0 > l3afd-docker-img-linux-x86_64-v2.0.0.tar |
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.
sudo docker save l3afd:v2.0.0 > l3afd-docker-img-linux-x86_64-v2.0.0.tar | |
sudo docker save l3afd:latest > l3afd-docker-img-linux-x86_64-v2.0.0.tar |
.github/workflows/ci-build.yaml
Outdated
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 | ||
with: | ||
name: l3afd-docker-img-linux-x86_64-v2.0.0.tar | ||
path: l3afd-docker-img-linux-x86_64-v2.0.0.tar |
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.
path: l3afd-docker-img-linux-x86_64-v2.0.0.tar | |
path: l3afd-docker-img-linux-x86_64.tar |
README.md
Outdated
@@ -47,7 +47,7 @@ cmake --build build | |||
- L3AFD binary & configuration that is required in the Docker image needs to be built locally and copied to build-docker directory | |||
- Execute below command to build the docker image | |||
``` | |||
docker build -t l3afd:r2 -f Dockerfile.l3afd . | |||
docker build -t l3afd:v2.0.0 -f 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.
docker build -t l3afd:v2.0.0 -f Dockerfile . | |
docker build -t l3afd:<version> -f Dockerfile . |
…nstead of v2.0.0 Signed-off-by: aka320 <[email protected]>
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.
LGTM
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.
Looks good
Building the Docker image and uploading it to Artifactory as part of CI build.