-
Notifications
You must be signed in to change notification settings - Fork 714
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- The documentation does not mention anything about my problem
- There are no open or closed issues that are related to my problem
Description
On my private Gitea (alternative to Github), updating build-push-action to versions 6.19.0 or 6.19.1 gives the following errors:
#1 0.007 fatal: could not read Username for 'http://10.0.0.5:22827': terminal prompts disabled
#1 ERROR: failed to fetch remote http://10.0.0.5:22827/owner/ssh-audit.git: git stderr:
fatal: could not read Username for 'http://10.0.0.5:22827': terminal prompts disabled
: exit status 128
Both versions give the same errors.
Version 6.18.0 works still fine.
Expected behaviour
This action should be usable on Github alternatives like Gitea.
Actual behaviour
Error when trying to read a local repository.
Repository URL
No response
Workflow run URL
No response
YAML workflow
name: Custom image
run-name: "${{ gitea.actor }}: building image and putting ${{ gitea.repository }}"
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
jobs:
build_image:
runs-on: ubuntu-latest
name: Docker build
steps:
- name: Login
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
with:
registry: gitea.example.com
username: ${{ vars.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Build and push
uses: docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6
with:
platforms: linux/amd64
push: true
tags: |
gitea.example.com/owner/ssh-audit:latestWorkflow logs
BuildKit logs
Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working