lamby-cookiecutter icon indicating copy to clipboard operation
lamby-cookiecutter copied to clipboard

Github actions failed to run Deploy

Open lanks opened this issue 1 year ago • 1 comments

Hi there

I am trying to setup the deployment on github actions using Devcontainers.

I am receiving the error below: ` Setting DockerBuildArgs: {} for RailsLambda function

Failed building function RailsLambda

Build Failed

Error: The command '/bin/sh -c gem install 'aws_lambda_ric'' returned a non-zero code: 1

Error: Dev container exec failed: (exit code: 1) Error: Dev container exec failed: (exit code: 1)

Also I was previously receiving errors caused by these lines in the deploy.yml file: imageName: ghcr.io/lanks/{% include "_cctmp/dash_name.txt" %}-devcontainer cacheFrom: ghcr.io/lanks/{% include "_cctmp/dash_name.txt" %}-devcontainer

The error I received was:

  [2023-12-01T08:55:29.408Z] ERROR: parse error on line 1, column 33: bare " in non-quoted-field
  [2023-12-01T08:55:29.411Z] Service 'app' failed to build : Build failed
  [2023-12-01T08:55:29.466Z] Exit code 1

I updated these lines and it worked but I am not sure if I need these lines for the container names? imageName: ghcr.io/lanks/sm-devcontainer cacheFrom: ghcr.io/lanks/sm-devcontainer

Appreciate any help if anyone knows how to overcome these? Cheers

lanks avatar Dec 01 '23 10:12 lanks

Same error, any update here?

prcongithub avatar May 16 '24 07:05 prcongithub