From 34103ca8f8c44d82f08346c563348bbb90349b88 Mon Sep 17 00:00:00 2001 From: Mweya Ruider Date: Mon, 2 Oct 2023 18:01:57 +0200 Subject: [PATCH] fix(rpm-release): make readme in project root Also updates the readme to reflect the new repos --- .github/workflows/release.yml | 4 ++-- README.md | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72b40044..93a380ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -192,8 +192,8 @@ jobs: createrepo . gpg --detach-sign --armor --default-key "mweya.ruider@iits-consulting.de" repodata/repomd.xml gpg --armor --export "mweya.ruider@iits-consulting.de" > KEY.gpg; - echo -e "[example-repo]\nname=Example Repo\nbaseurl=http://iits-consulting.github.io/rpm-repo/packages\nenabled=1\ngpgcheck=1\ngpgkey=http://iits-consulting.github.io/rpm-repo/KEY.gpg" > example.repo - cd ~ + echo -e "[otc-auth_rpm]\nname=otc-auth RPM repo\nbaseurl=http://iits-consulting.github.io/rpm-repo/packages\nenabled=1\ngpgcheck=1\ngpgkey=http://iits-consulting.github.io/rpm-repo/KEY.gpg" > otc-auth.repo + cd ../../ echo -e " # otc-auth RPM Repo \n This repo contains .rpm files built from the [latest version of otc-auth](https://github.com/iits-consulting/otc-auth/releases).\n\n ## Usage \n \`\`\`bash \n yum-config-manager --add-repo https://iits-consulting.github.io/rpm-repo.repo \n yum install -y hello-world \n \`\`\`" > README.md; env: GPG_PPA_PRIV_KEY: ${{ secrets.GPG_PPA_PRIV_KEY }} diff --git a/README.md b/README.md index 20605005..f86f6b3a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ This tool can also be used to manage (create) a pair of Access Key/ Secret Key i * [Demo](#demo) * [Install](#install) - * [Arch Linux](#arch-linux) * Usage * [Login](#login) * [Service Provider Login (IAM)](#service-provider-login-iam) @@ -44,14 +43,14 @@ https://user-images.githubusercontent.com/19291722/208880256-b0da924e-254e-4bc4- ## Install -You can download the binary for your system from +We have repos set up +for [Arch based distros](https://aur.archlinux.org/packages/otc-auth), [Debian based distros](https://github.com/iits-consulting/ppa), [Fedora-based distros](https://github.com/iits-consulting/rpm-repo) +and [Alpine](https://github.com/iits-consulting/apk-repo). + +If your package manager isn't listed above, you can also download the binary for your system from the [releases page](https://github.com/iits-consulting/otc-auth/releases). Unpack the binary, add it to your PATH and you are good to go! -### Arch Linux - -Users of Arch Linux may use the package published in the [AUR](https://aur.archlinux.org/packages/otc-auth) - ## Login Use the `login` command to retrieve an unscoped token either by logging in directly with the Service Provider or through