kiegroup / github-action-build-chain

86 stars 24 forks source link

Cannot checkout on custom container #463

Open ChrisHLC opened 8 months ago

ChrisHLC commented 8 months ago

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