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.