change user

This commit is contained in:
2025-05-13 20:41:20 +02:00
parent c5bc159fe7
commit a90cbd05e8
6 changed files with 15 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ jobs:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone repo helm chart
run: git clone https://${{ secrets.REGISTRY_DOCKER_PASS }}@${{ vars.REGISTRY_DOCKER }}/${{ secrets.REGISTRY_DOCKER_USER }}/${{ env.GIT_REPO }}
run: git clone https://${{ secrets.PACKAGE_RW }}@${{ vars.REGISTRY_DOCKER }}/${{ secrets.GIT_USER_REPO }}/${{ env.GIT_REPO }}
- name: tag release
run: |
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
@@ -31,4 +31,4 @@ jobs:
- name: push repo
run: |
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
curl --user ${{ secrets.REGISTRY_DOCKER_USER }}:${{ secrets.REGISTRY_DOCKER_PASS }} -X POST --upload-file /workspace/${{ secrets.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}-$VERSION.tgz https://${{ vars.REGISTRY_DOCKER }}/api/packages/${{ secrets.GIT_USER_REPO }}/helm/api/charts
curl --user ${{ secrets.GIT_USER_REPO }}:${{ secrets.PACKAGE_RW }} -X POST --upload-file /workspace/${{ secrets.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}-$VERSION.tgz https://${{ vars.REGISTRY_DOCKER }}/api/packages/${{ secrets.GIT_USER_REPO }}/helm/api/charts