Skip to content

Commit

Permalink
Workflows: Add OCI Release (#303)
Browse files Browse the repository at this point in the history
* Workflows: Add OCI Release

Signed-off-by: Aaron Layfield <[email protected]>

* Temp publish on PR.

Signed-off-by: Aaron Layfield <[email protected]>

* 4.29.4 (TMP but Valid Tag)

Signed-off-by: Aaron Layfield <[email protected]>

* Publish to GHCR

Signed-off-by: Aaron Layfield <[email protected]>

* Retry push

Signed-off-by: Aaron Layfield <[email protected]>

* Ready for release.

Signed-off-by: Aaron Layfield <[email protected]>

---------

Signed-off-by: Aaron Layfield <[email protected]>
  • Loading branch information
DandyDeveloper authored Nov 7, 2024
1 parent 3d04195 commit 1b1efd8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Publish Charts to /docs

on:
push:
branches: [ master ]

jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -33,3 +34,11 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"

- name: Run chart-releaser (OCI)
uses: bitdeps/[email protected]
with:
oci_registry: ghcr.io/dandydeveloper/charts
oci_username: ${{ secrets.USERNAME }}
oci_password: ${{ secrets.CR_TOKEN }}
github_token: ${{ secrets.CR_TOKEN }}
2 changes: 1 addition & 1 deletion charts/redis-ha/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- redis
- keyvalue
- database
version: 4.29.3
version: 4.29.4
appVersion: 7.2.4
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
Expand Down

0 comments on commit 1b1efd8

Please sign in to comment.