github-action-build-chain icon indicating copy to clipboard operation
github-action-build-chain copied to clipboard

Cannot checkout on custom container

Open ChrisHLC opened this issue 1 year ago • 0 comments
trafficstars

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/[email protected]
        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

ChrisHLC avatar Dec 19 '23 10:12 ChrisHLC