Skip to content

Commit

Permalink
fix: publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfaircloth committed Feb 17, 2022
1 parent 4384483 commit 9e5b615
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/cd-releases-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: cd-ghcr
on:
push:
branches-ignore:
- "**"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
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: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.8.0

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.3.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
BUILDTIME=${{ needs.meta.outputs.container_buildtime }}
VERSION=${{ needs.meta.outputs.container_version }}
REVISION=${{ needs.meta.outputs.container_revision }}
cache-from: type=registry,ref=${{ needs.meta.outputs.container_base }}
cache-from: type=registry,ref=ghcr.io/rfaircloth-splunk/splunk-operator-app-deployer/container:main
cache-to: type=inline

release:
Expand Down

0 comments on commit 9e5b615

Please sign in to comment.