Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 510 Bytes

File metadata and controls

18 lines (14 loc) · 510 Bytes

artifactory-get-latest-image-tag

Get the latest tag from Artifactory for an Docker image

Usage:

  - 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 }}]"