GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves tags from a specific container registry repository within a GitLab project. It is useful for users who want to list or manage container image tags stored in GitLab's container registry. For example, a DevOps engineer might use this to automate the retrieval of image tags for deployment pipelines or auditing purposes.

Use Case Examples

  1. Retrieve all tags for a container registry repository in a GitLab project to monitor available image versions.
  2. Automate cleanup scripts by fetching tags and identifying outdated images in the container registry.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters to control pagination of results.
Path Parameters Required path parameters to specify the project and repository.

Output

JSON

  • tags - List of tags retrieved from the container registry repository.
  • pagination - Pagination details such as current page and items per page.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and repository ID are correct and accessible with the provided credentials.
  • Verify that the GitLab instance URL (baseUrl) is correct and reachable.
  • Check that the API token has sufficient permissions to access container registry data.
  • Common errors include authentication failures, invalid project or repository IDs, and rate limiting by the GitLab API.

Links

Discussion