workflow-test/.gitea/workflows/pipeline.yaml
Jonas Forsberg cb1a94e6c2
All checks were successful
Testing pipes / Explore-Gitea-Actions (push) Successful in 32s
.
2024-10-14 17:10:17 +02:00

34 lines
1.3 KiB
YAML

name: Testing pipes
on:
push:
branches:
- 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
- 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