Skip to content

Commit

Permalink
🚀feat: use docker oci registry
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam committed Oct 8, 2023
1 parent b50e0a0 commit 1ad0f01
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
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: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}

- name: Install Helm
uses: azure/setup-helm@v1
- name: Publish chart
uses: rberrelleza/helm-oci-chart-releaser@v0.4.1
with:
version: v3.8.1

- name: install dependency
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: mgob
repository: maxisam/mgob
tag: ${{ github.ref_name }}
path: charts/mgob
registry: registry-1.docker.io
registry_username: ${{ secrets.DOCKER_USERNAME }}
registry_password: ${{ secrets.DOCKER_PASSWORD }}
update_dependencies: "true"

0 comments on commit 1ad0f01

Please sign in to comment.