aws-samples / aws-modern-application-workshop

A tutorial for developers that want to learn about how to build modern applications on top of AWS. You will build a sample website that leverages infrastructure as code, containers, serverless code functions, CI/CD, and more.
Apache License 2.0
1.46k stars 832 forks source link

Module 2 Build phase... #290

Open davekindof opened 1 year ago

davekindof commented 1 year ago

When I attempt to update the build via the CI/CD, it gets to the build phase but fails on on step 1/13

Container] 2023/08/28 19:16:45 Running command echo Building the Docker image...

36 | Building the Docker image... 37 |   38 | [Container] 2023/08/28 19:16:45 Running command docker build -t mythicalmysfits/service:latest . 39 | Sending build context to Docker daemon 14.85kB 40 |   41 | Step 1/13 : FROM ubuntu:latest 42 | missing signature key 43 |   44 | [Container] 2023/08/28 19:16:45 Command did not exit successfully docker build -t mythicalmysfits/service:latest . exit status 1 45 | [Container] 2023/08/28 19:16:45 Phase complete: BUILD State: FAILED 46 | [Container] 2023/08/28 19:16:45 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: docker build -t mythicalmysfits/service:latest .. Reason: exit status 1 47 | [Container] 2023/08/28 19:16:45 Entering phase POST_BUILD 48 | [Container] 2023/08/28 19:16:45 Running command echo Build completed on date 49 | Build completed on Mon Aug 28 19:16:45 UTC 2023

What am I doing wrong?