...
Login
Code Block title Docker login docker login artifactory.software.geant.org
And provide your Artifactory username and password
To manually set your credentials copy the following snippet to your ~/.docker/config.json file.Code Block title Credenitals { "auths": { "https://artifactory.software.geant.org: { "auth": "<USERNAME>:<PASSWORD>", "email": "youremail@email.com" } } }
Push image to registry
To push an image tag an image using the docker tag and then docker push command.Code Block title Docker push docker tag <MY_IMAGE_ID> artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG> docker push artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>
Pull image
Code Block title Docker pull docker pull artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>
How to use Artifactory as a tool for Software IPR management
- You have to use GN CI Bamboo CI https://bamboo.software.geant.org
- You have to use Maven 3, Gradle and/or Ivy builders with Artifactory as dependency proxy and build result repository
You can set the Run License Checks checkbox so that Artifactory will scan all dependencies used by the build to check for any license violations.
After build execution and deploy to https://artifactory.software.geant.org navigate to your build and select License tab
See example https://artifactory.geant.net/artifactory/webapp/#/builds/cNIS_nightbuild/340/1359382391871/licenses
Note: Currently all approved libraries are matched based on GÉANT IPR Policy.
Reference:
- GÉANT IPR Policy (GN3-10-325) https://geant3plus.archive.geant.net/About/Documents/GN3_10_325GEANTIPRPolicyv1.2_30SEP11.pdf
- Bamboo Artifactory Plugin - Running Licence Checks https://www.jfrog.com/confluence/display/RTF/Bamboo+Artifactory+Plug-in#BambooArtifactoryPlug-in-RunningLicenceChecks
Related articles
Note |
---|
The JFrog Academy provides free, unlimited access to On-Demand Online Training, some of them are dedicated to DevOps and could help you to get deep knowledge about useful Artifactory features and also build automation and DevOps best practices:
See more at: https://academy.jfrog.com/courses |
...