Skip to content

Docker Hub Fetch Image Tags

Actions
Get Tags of a Docker image hosted on DockerHub
v1.0.14
Latest
Star (0)

Tags

 (1)

Github Action: Fetch Tags from DockerHub

Example

name: 'Example workflow'
on:
  pull_request:
  push:
    branches:
      - main

  workflow_dispatch:

jobs:
  fetch:
    runs-on: ubuntu-latest
    steps:
      - name: Fetch tags from DockerHub
        id: fetch_tags
        uses: mxpicture/action-docker-hub-fetch-tags@v1
        with:
          repository: owner/repo
          max_items: '100'

      - name: An example step
        run: |
          echo '${{ steps.fetch_tags.outputs.count }}'

      - name: An example step
        run: |
          echo '${{ steps.fetch_tags.outputs.results }}'

Docker Hub Fetch Image Tags is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Get Tags of a Docker image hosted on DockerHub
v1.0.14
Latest

Tags

 (1)

Docker Hub Fetch Image Tags is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.