diff --git a/.gitea/workflows/release-version.yml b/.gitea/workflows/release-version.yml index a993c77..6994410 100644 --- a/.gitea/workflows/release-version.yml +++ b/.gitea/workflows/release-version.yml @@ -98,11 +98,16 @@ jobs: run: | helm push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz "oci://registry-1.docker.io/${DOCKER_IO_REPO_NAME}" - # - uses: docker/login-action@v3.7.0 - # with: - # registry: ${{ github.server_url }} - # username: ${{ secrets.GITEA_PACKAGE_REGISTRY_USERNAME }} - # password: ${{ secrets.GITEA_PACKAGE_REGISTRY_TOKEN }} + - uses: docker/login-action@v3.7.0 + with: + registry: ${{ github.server_url }} + username: ${{ secrets.GITEA_PACKAGE_REGISTRY_USERNAME }} + password: ${{ secrets.GITEA_PACKAGE_REGISTRY_TOKEN }} + + - name: Upload package as OCI artifact to Gitea + run: | + helm push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz "oci://${GITEA_SERVER_HOSTNAME}/${REPOSITORY_OWNER}/${REPOSITORY_NAME}" + # - name: Build new index.yaml # run: |