Skip to content

Commit

Permalink
Merge pull request #7 from herve4m/herve4m/release-github-actions
Browse files Browse the repository at this point in the history
GitHub Actions workflow for release
  • Loading branch information
Tompage1994 authored Aug 30, 2024
2 parents affdb6e + 141e9b0 commit 0beddb1
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 0beddb1

Please sign in to comment.