From 4300f23fb6288c8516af80c95b7e917a438fdd44 Mon Sep 17 00:00:00 2001 From: Kirill Sibirev Date: Tue, 11 Jun 2024 09:26:01 +0200 Subject: [PATCH] Helm per commit release (#25) * Helm per commit release * Helm per commit release --- .../workflows/{release.yml => release_commit.yml} | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) rename .github/workflows/{release.yml => release_commit.yml} (83%) diff --git a/.github/workflows/release.yml b/.github/workflows/release_commit.yml similarity index 83% rename from .github/workflows/release.yml rename to .github/workflows/release_commit.yml index 640a471..edbdc8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release_commit.yml @@ -1,4 +1,4 @@ -name: Create and publish a Docker image +name: Publish helm and app images per commit to main # Configures this workflow to run every time a change is pushed to the main branch. on: @@ -60,3 +60,14 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Build and push helm chart image + uses: appany/helm-oci-chart-releaser@v0.3.0 + with: + name: ytsaurus-identity-sync + repository: ${{ github.repository }} + tag: ${{ steps.meta.outputs.tags }} + path: deploy/chart/ytsaurus-identity-sync + registry: ${{ env.REGISTRY }} + registry_username: ${{ github.actor }} + registry_password: ${{ secrets.GITHUB_TOKEN }}