Skip to content

Commit

Permalink
Fix Continuous Delivery Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ricoberger committed Nov 28, 2024
1 parent 1b3b838 commit f68c24b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
push: true
context: .
file: ./cmd/kobs/Dockerfile
file: ./Dockerfile
platforms: linux/amd64,linux/arm64/v8
tags: ghcr.io/${{ github.repository_owner }}/namespacerole-operator:${{ env.TAG }}

Expand All @@ -70,7 +70,7 @@ jobs:
- name: Set Version
id: version
run: |
echo "VERSION=$(yq -r .version ./charts/namespacerole-operator/Chart.yaml)" >> "$GITHUB_OUTPUT"
echo VERSION=$(yq -r .version ./charts/namespacerole-operator/Chart.yaml) >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -82,5 +82,5 @@ jobs:
- name: Package and Push Helm Chart
run: |
helm package ./charts/namespacerole-operator --version ${{ env.VERSION }}
helm push ./namespacerole-operator-${{ env.VERSION }}.tgz oci://${{ github.repository_owner }}/charts
helm push ./namespacerole-operator-${{ env.VERSION }}.tgz oci://ghcr.io/${{ github.repository_owner }}/charts

0 comments on commit f68c24b

Please sign in to comment.