From d5bf49febb2023f6093c63bbc727e9f0c26ee305 Mon Sep 17 00:00:00 2001 From: MessKon <35975404+MessKon@users.noreply.github.com> Date: Wed, 9 Nov 2022 10:07:23 +0000 Subject: [PATCH] Use GH Actions for repo's release (#19) --- .DS_Store | Bin 6148 -> 0 bytes .github/workflows/release.yml | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) delete mode 100644 .DS_Store create mode 100644 .github/workflows/release.yml diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 8f3b989ba2a89d714a1ed2b30cecc00c7b734da7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKUrWO<5Wmc+9U@K;^f52KO_=|NJ_u#b2j7H>KB#ERhAY%&w4Foeq+dh7k)Ob? z<6V*s#}s@~RPM^063_Gg%TDY2(^<=NWppth3;bw5@Z;?D&lg(Aq6R8&@rY8+gBdA!N9Y353{|2EDWsL@L1Om!K1cX;!Viio#TJdS=!s z;WO`Ccx~15GC%94bw4?y+L52N18W~E6^(2^I0;+5%kt8`iZefqTZv8%n=K4EKMmui z>eW>@Zl<~)&ot0DrOWb4zrVS&U6I?h+Mpu)yBpPt+^TI21|?^Cb$##f>gMjg|1fxb zGJFgCG_@>P9KtgiUzqx>m&B2ZuQ7Vq)366dW`G%B2L31mb~|(C{^rv_11v}{XSBAk&py!x=RpBi>}4oAhw_glZt3kg}q`3la79A<6MimL6Z(b zkBt4;k%hgX2t7Lbr49$-8sw50UhCYfhmX6{TR4wS2WFWd0bA#wX;U57_0~gG|k23HE&emC- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..43eb177 --- /dev/null +++ b/.github/workflows/release.yml @@ -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