Skip to content

Commit

Permalink
GitHub Actions workflow for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hervé Quatremain committed Aug 7, 2024
1 parent 9d3a0a0 commit 141e9b0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# This workflow action builds and then publishes the collection
# to Ansible Galaxy.
name: Release

on:
release:
types:
- published

jobs:
release:
uses:
redhat-cop/ansible_collections_tooling/.github/workflows/release.yml@main
with:
collection_namespace: infra
collection_name: quay_configuration
collection_version: ${{ github.ref_name }}
collection_repo: https://github.com/redhat-cop/quay_configuration
secrets:
# Ansible Galaxy key that is used to publish the collection
api_key: ${{ secrets.GALAXY_INFRA_KEY }}
# GitHub token used to copy the collection tar to the GitHub release
token: ${{ secrets.GITHUB_TOKEN }}
...

0 comments on commit 141e9b0

Please sign in to comment.