workflow-test/.gitea/workflows/pipeline.yaml

28 lines
992 B
YAML
Raw Normal View History

2024-10-14 13:12:49 +00:00
name: Testing pipes
on:
push:
2024-10-14 13:14:32 +00:00
branches:
2024-10-14 13:12:49 +00:00
- main
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
2024-10-14 13:17:16 +00:00
- run: cat /etc/os-release
2024-10-14 13:30:19 +00:00
- run: pwd
2024-10-14 14:06:31 +00:00
- 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
2024-10-14 13:50:27 +00:00
- run: sudo apt update
2024-10-14 14:06:31 +00:00
- run: sudo apt install helm --yes
2024-10-14 14:28:21 +00:00
- shell: bash
env:
2024-10-14 14:35:17 +00:00
REPO_PASSWORD: ${{ secrets.REPO_LOGIN }}
2024-10-14 14:31:23 +00:00
run: |
2024-10-14 14:38:34 +00:00
helm registry login https://$REPO_HOST --username $REPO_USERNAME --password $REPO_PASSWORD