Skip to content

Commit

Permalink
Test to update helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlavv committed Nov 20, 2024
1 parent 21f4152 commit 5c7b75d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
git config --global user.email '[email protected]'
git tag ${{ steps.set_output.outputs.new_version }}
git push origin ${{ steps.set_output.outputs.new_version }}
build-and-push-docker-api:
runs-on: ubuntu-latest
needs: determine-version
Expand Down Expand Up @@ -107,6 +108,7 @@ jobs:
new_version=${{ needs.determine-version.outputs.new_version }}
echo "Docker api with version $new_version"
docker buildx build --platform linux/amd64,linux/arm64 --push -t ${{ env.IMAGE_NAME }}:api-${{ needs.determine-version.outputs.new_version }} --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache,mode=max ./src/api
build-and-push-docker-job:
runs-on: ubuntu-latest
needs: determine-version
Expand Down Expand Up @@ -138,6 +140,7 @@ jobs:
new_version=${{ needs.determine-version.outputs.new_version }}
echo "Docker job with version $new_version"
docker buildx build --platform linux/amd64,linux/arm64 --push -t ${{ env.IMAGE_NAME }}:job-${{ needs.determine-version.outputs.new_version }} --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache,mode=max ./src
publish-helm-chart:
runs-on: ubuntu-latest
needs:
Expand All @@ -164,9 +167,7 @@ jobs:

- name: Package Helm chart
run: |
new_version=${{ needs.determine-version.outputs.new_version }}
echo "Packaging Helm chart with version $new_version"
helm package opensource --version $new_version
helm package opensource
- name: Push Helm chart to Docker Hub
run: |
helm push $(ls *.tgz) oci://registry-1.docker.io/bouyguestelecomcharts

0 comments on commit 5c7b75d

Please sign in to comment.