Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Use GH Actions for repo's release (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
MessKon authored Nov 9, 2022
1 parent 2f61029 commit d5bf49f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release
on:
workflow_dispatch:
inputs: {}
push:
tags:
- 'v*'
jobs:
publish-chart:
name: Release new Kaptain-Catalog-Applications version
permissions:
actions: write
checks: write
contents: write
deployments: write
discussions: write
id-token: write
issues: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Create tarball
run: |
cd ../
tar -zcf kaptain-catalog-applications.tar.gz --owner root --group root --exclude={README.md,Makefile,.*} kaptain-catalog-applications/
- name: Create GH release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
artifacts: ../kaptain-catalog-applications.tar.gz

0 comments on commit d5bf49f

Please sign in to comment.