Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github actions setup: a terminal is required to read the password #9

Open
oerp-odoo opened this issue Jun 23, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@oerp-odoo
Copy link

Description

  tag:
    runs-on: self-hosted
    needs: project_names_wkf
    steps:
      - uses: dcarbone/[email protected]
      - uses: actions/setup-go@v4
        with:
          go-version: 1.20.5
      - uses: imjasonh/[email protected]

I get this error. Not sure why its asking for a password:

Run imjasonh/[email protected]
Run set -ex
+ case latest-release in
++ curl -s -u username:*** https://api.github.com/repos/google/go-containerregistry/releases/latest
++ jq -r .tag_name
+ tag=v0.15.2
+ os=Linux
+ [[ Linux == \m\a\c\O\S ]]
++ uname -m
+ arch=x86_64
+ [[ x86_64 =~ (aarch64|arm64) ]]
+ [[ ! -z v0.15.2 ]]
+ echo 'Installing crane @ v0.15.2 for Linux on x86_64'
Installing crane @ v0.15.2 for Linux on x86_64
+ sudo tar xzf - -C /usr/local/bin crane
+ curl -fsL https://github.com/google/go-containerregistry/releases/download/v0.15.2/go-containerregistry_Linux_x86_64.tar.gz
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Process completed with exit code 1.

P.S. Note I am also installing jq manually as I get other error during crane setup

@oerp-odoo oerp-odoo added the bug Something isn't working label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant