Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Jun 28, 2024
1 parent 79d24bd commit 733da63
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/charts-release-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,17 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4

- name: Run chart-releaser
uses: helm/[email protected]
env:
skip_upload: true
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: googleapis/release-please-action@v4
with:
release-type: helm
path: chart/tailscale-derp
skip-github-pull-request: true

- name: Push Charts to GHCR
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci://ghcr.io/${{ github.repository }}/chart
done
# - name: Package & Push Helm Charts
# shell: bash
# run: |
# helm package --dependency-update --destination "${{ env.CHARTS_SRC_DIR }}/${CHART_TYPE}" --version "${CHART_VERSION}"
# helm push "${{ env.CHARTS_SRC_DIR }}/${CHART_TYPE}/${CHART_NAME}-${CHART_VERSION}.tgz" oci://${{ env.TARGET_REGISTRY }}/${{ github.actor }}/helm

0 comments on commit 733da63

Please sign in to comment.