workflow-test/.gitea/workflows/pipeline.yaml
Jonas Forsberg 062fb1c416
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 19s
.
2024-10-15 13:49:45 +02:00

31 lines
1.2 KiB
YAML

name: Testing pipes
on: []
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repo code
uses: actions/checkout@v3
- run: echo "Testing testing"
- run: cat ./README.md
- run: cat /etc/os-release
- run: pwd
- run: curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
- run: apt-get update
- run: apt-get install apt-transport-https --yes
- run: echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
- run: sudo apt update
- run: sudo apt install helm --yes
- shell: bash
env:
REPO_PASSWORD: ${{ secrets.REPO_LOGIN }}
REPO_USERNAME: ${{ vars.REPO_USERNAME }}
REPO_HOST: ${{ vars.REPO_HOST }}
run: |
echo "username: $REPO_USERNAME"
echo "password: $REPO_PASSWORD"
echo "repohost: $REPO_HOST"
docker login --username $REPO_USERNAME --password $REPO_PASSWORD $REPO_HOST
helm registry login https://$REPO_HOST --username $REPO_USERNAME --password $REPO_PASSWORD