Run the following command:
curl -L -u <USERNAME>:<AUTH_TOKEN> -XPUT "https://[JFrogPlatformURL]/artifactory/<REPO_NAME>/<BRANCH>/<REPOSITORY>/<ARCHITECTURE>/<PACKAGE>" -T <PATH_TO_FILE>Where:
<USERNAME>: Your Artifactory username<AUTH_TOKEN>: Your Artifactory identity token[JFrogPlatformURL]: The URL of your JPD<REPO_NAME>: The name of the Alpine repository in Artifactory<BRANCH>: The specific release branch of Alpine Linux you want to use<REPOSITORY>: The collection or component within the Alpine branch, typicallymainorcommunity<ARCHITECTURE>: The CPU architecture that the Alpine package is built for<PACKAGE>: The package filename<PATH_TO_FILE>: The location of the.apkpackage file on your computer
For example:
curl -L -u jeffry:AKCp89XxY7wLPqL6vK3Dsfdh4fe887SguYnm90x -XPUT "https://company.jfrog.io/artifactory/alpine-local/v3.20/main/x86_64/my-app-1.0.0-r1.apk" -T ~/builds/my-app-1.0.0-r1.apkNote
You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.