Setup some generic and container repositories.
For this we have setup a local Docker repository dev-container-repo
and created a user with minimal at-least contribute role access for this repo.
# Push container image.
docker pull debian:latest
docker login artifactory.mydomain.com
docker tag debian:latest artifactory.mydomain.com/dev-container-repo/debian/bookworm:latest
docker push artifactory.mydomain.com/dev-container-repo/debian/bookworm:latest
# Pull container image.
docker rmi debian:latest artifactory.mydomain.com/dev-container-repo/debian/bookworm:latest
docker pull artifactory.mydomain.com/dev-container-repo/debian/bookworm:latest
For this we have setup a local Generic repository generic-file-storage-repo
and created a user with minimal at-least contribute role access for this repo.
# File upload.
touch dummy-file.txt
curl -u <USER>:<PASSWORD> -T ./dummy-file.txt https://artifactory.mydomain.com/artifactory/generic-file-storage-repo/test-files/dummy-file.txt
# File download.
rm dummy-file.txt
curl -u <USER>:<PASSWORD> -L -O https://artifactory.mydomain.com/artifactory/generic-file-storage-repo/test-files/dummy-file.txt
Accessing artifactory using Jfrog CLI.
# File upload.
touch dummy-file.txt
jf rt upload ./dummy-file.txt --url=https://artifactory.mydomain.com/artifactory --user=<USER> --password=<PASSWORD> generic-file-storage-repo/test-files/dummy-file.txt
# File download.
rm dummy-file.txt
jf rt download --url=https://artifactory.mydomain.com/artifactory --user=<USER> --password=<PASSWORD> generic-file-storage-repo/test-files/dummy-file.txt