Actions #1
@ -5,6 +5,10 @@ on: [push]
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
REGISTRY: harbor.grachevko.ru
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: yokawasa/action-setup-kube-tools@v0.9.3
|
||||
@ -21,5 +25,5 @@ jobs:
|
||||
echo ${{ gitea }}
|
||||
- name: publish
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | helm registry login harbor.grachevko.ru --username "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | helm registry login ${{ env.REGISTRY }} --username "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||
helm push ./*.tgz oci://harbor.grachevko.ru/${{ gitea.repository }}
|
||||
|
Reference in New Issue
Block a user