Get the latest tag from Artifactory for an Docker image
- uses: asml-actions/artifactory-get-latest-image-tag@setup
id: get-tag
with:
ARTIFACTORY_URL: https://my_artifactory_server.com
REPO_KEY: reg-local
IMAGE_NAME: runner
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
- name: Show the tag from the output of the previous step
run: echo "Found this tag:: [${{ steps.get-tag.outputs.tag }}]"