Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Upload Script to Catalog using Github

83 views6 hours ago
4
Juan Falcon484 16 hours ago 0 Comments

Hello

im using github to upload script and i have no errors but this opcion push to the DMS and is not published in the catalog as private item,

- name: Upload to Catalog
id: uploadToCatalog
run: echo "id=$(dataminer-catalog-upload --path-to-artifact "${{ github.workspace }}/${{ steps.packageName.outputs.name }}.dmapp" --dm-catalog-token ${{ secrets.DATAMINER_DEPLOY_KEY }})" >> $GITHUB_OUTPUT

- name: Deploy to DataMiner
run: dataminer-package-deploy from-volatile --artifact-id "${{ steps.uploadToCatalog.outputs.id }}" --dm-system-token ${{ secrets.DATAMINER_DEPLOY_KEY }}

how can i uploadToCatalog and maked as private element to my organization?

Thabks

Jan Staelens [SLC] [DevOps Advocate] Answered question 6 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Avatar photo
Jan Staelens [SLC] [DevOps Advocate]994 Posted 6 hours ago 1 Comment

Hello Juan,

The easiest way is to use our reusable workflow that we actually also use in all our internal work, which handles everything directly.

(Unit testing, Building, Upload to catalog, ...)

You can access it with a workflow as followed:

https://github.com/SkylineCommunications/.github/blob/main/workflow-templates/MasterWorkflow.yml

There are many inputs you can provide, those are described here: https://docs.dataminer.services/develop/CICD/GitHub/GitHubReusableWorkflows/GitHub_Reusable_Workflows_Master_Workflow.html#inputs

In your case, I believe you only need to add

DATAMINER_TOKEN
(The API key generated in the dataminer.services Admin app. Required when publishing to the Catalog on a release tag.)

So it becomes (note you will need to change the syntax to valid yaml if copy-pasting):

CI:

uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Master Workflow.yml@main

secrets:

DATAMINER_TOKEN: ${{ secrets.DATAMINER_TOKEN }}

With that workflow, if you make a release or pre-release in GitHub it will publish to the catalog for you.

Juan Falcon Posted new comment 2 hours ago
Juan Falcon commented 2 hours ago

hello Jan

Using the maste workflow i got this error
The workflow is not valid. .github/workflows/updatecatalogdetails.yml (Line: 21, Col: 3): Error calling workflow 'SkylineCommunications/_ReusableWorkflows/.github/workflows/Master Workflow.yml@main'. The workflow is requesting 'actions: read, packages: write, id-token: write', but is only allowed 'actions: none, packages: read, id-token: none'. .github/workflows/updatecatalogdetails.yml (Line: 21, Col: 3): Error calling workflow 'SkylineCommunications/_ReusableWorkflows/.github/workflows/Master Workflow.yml@main'. The nested job 'set_repo_type' is requesting 'id-token: write', but is only allowed 'id-token: none'.

Should i change somethin in the github config? its a new account

Thanks

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin