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

Cannot checkout on custom container #463

Open
ChrisHLC opened this issue Dec 19, 2023 · 0 comments
Open

Cannot checkout on custom container #463

ChrisHLC opened this issue Dec 19, 2023 · 0 comments

Comments

@ChrisHLC
Copy link

Hi, I'm trying to implement your plugin.

Here is my workflow

name: Build Chain

on: [ pull_request ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: "Run build-chain"
        uses: kiegroup/github-action-build-chain@v3.5.5
        with:
          definition-file: https://raw.githubusercontent.com/VayanData/btibPipeline/develop/definitions.yml
        env:
          GITHUB_TOKEN: "${{ secrets.READ_VAYAN_REPOS }}"

It works fine, it checkouts on the desired projects and runs some basic build commands.

But when I try to run the same step on my own container (https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container#defining-credentials-for-a-container-registry), I have the following error: Error: [VayanData/btibcore_n4] Error cloning VayanData/btibcore_n4 and switching to target branch develop.

Here is the complete log archive
logs_128.zip

My image is based on ubuntu:latest, has java 8 and some files needed for more complex builds.

Any idea on what the problem might be? (I'm sorry I'm quite new to Github actions)
Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant