Skip to content

Copy To Pod can't find local custom actions #260

@nWhitehill

Description

@nWhitehill

I was trying to demo the new Copy to Pod feature. I also ran into #257. However after using ubuntu:latest I moved on only to fail when trying to run one of the repo's custom actions.

Image

Here is the relevant part of the job

jobs:
  build_image:
    name: "Build and Push Docker Images"
    runs-on: docker-buildkit-anvyl-core-api
    container: ubuntu:latest 
    outputs:
      BASE_IMAGE: ${{ env.BASE_IMAGE_REPOSITORY }}:${{ github.sha }}
    permissions:
      contents: read
      id-token: write
    strategy:
      fail-fast: false
      matrix:
        platform: [ "amd64", "arm64" ]
    steps:
      ##################################################
      # Standard Setup and Auth to GCP
      ##################################################
      - name: Checkout
        uses: actions/checkout@v4
      - run: |
          ls -la
          sleep 120
      - name: Auth to GAR
        uses: ./.github/actions/login-to-gar

I confirmed that if I exec into the pod during the sleep statement ./.github/actions/login-to-gar/action.yml is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions