-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from herve4m/herve4m/release-github-actions
GitHub Actions workflow for release
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | ||
... |