Skip to content

Commit

Permalink
[release] Include Helm Chart
Browse files Browse the repository at this point in the history
Signed-off-by: dntosas <[email protected]>
  • Loading branch information
dntosas committed Feb 20, 2022
1 parent c843b92 commit b4d9361
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
File renamed without changes.
30 changes: 30 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Helm Chart Release

on:
push:
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 "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.8.0

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
ARG DISTROLESS_IMAGE "gcr.io/distroless/static:nonroot"

# Switch to distroless as minimal base image to package the capi2argo-cluster-operator binary
FROM "${DISTROLESS_IMAGE}"
FROM "gcr.io/distroless/static:nonroot"
WORKDIR /
COPY bin/capi2argo-cluster-operator .
USER 65532:65532
Expand Down

0 comments on commit b4d9361

Please sign in to comment.