Deploy to GAE: No such image: docker.io/nytimes/drone-gae:latest

Hi,

I need a bit of helping! I"m having issues deploying to GAE via the drone-gae plugin covered at in the drone io blog post ‘drone-cloud-native-ci-cd-google-cloud’.

The error message I’ve listed below alludes to the docker image ‘nytimes/drone-gae’ not existing but it does appear to exist hub.docker.com/r/nytimes/drone-gae

Perhaps I have a syntax issue with my 1.0 format? All steps in the below .drone.yml work except the deploy step. Password are all correct in the earlier stages because I am able to publish to docker and GCR.

Drone Version:
drone/drone:1.0.0-rc.5

Error Message:
default: Error: No such image: docker.io/nytimes/drone-gae:latest

.drone.yml
kind: pipeline
name: default

steps:
- name: build
  image: node:latest
  commands: 
  - npm install
  - npm install -g @angular/cli
  - npm run build:uat-server:ssr 
- name: docker  
  image: plugins/docker
  settings:
    repo: my-repo
    username:
      from_secret: docker_username
    password:
      from_secret: docker_password
- name: publish
  image: plugins/gcr
  settings:    
    registry: us.gcr.io
    repo: gc-project-id/folder-name
    tag: latest
    json_key:
      from_secret: google_credentials
- name: deploy
  image: nytimes/drone-gae
  settings:  
    project: gc-project-id
    flex_image: us.gcr.io/gc-project-id/image-namelatest
    version: latest
    addl_flags:
     - --stop-previous-version
    token: 
      from_secret: google_credentials
    when:
      event: push
      branch: develop

Thanks!

Would you be able to provide entire error message?

{“arch”:“amd64”,“build”:40,“error”:“Error: No such image: docker.io/nytimes/drone-gae:latest",“level”:“info”,“machine”:“333cad6b8d4b”,“msg”:"runner: execution failed”,“os”:“linux”,“pipeline”:“default”,“repo”:“estoneS7/beacon”,“stage”:1,“time”:“2019-01-25T15:28:16Z”}
{“build.id”:64,“build.number”:40,“error”:"",“level”:“warning”,“msg”:“manager: cannot publish status”,“repo.id”:7,“stage.id”:53,“time”:“2019-01-25T15:28:16Z”}

Error: No such image: docker.io/nytimes/drone-gae:latest

This error is coming from the Docker daemon. I am unable to triage issues related to the Docker Daemon since it is outside of my area of expertise, however, I would suggest enabling debug mode for the Docker daemon so that you can further examine the logs [1][2]. You may also want to post your daemon logs to the Docker Forum [3] for further assistance.

[1] https://success.docker.com/article/how-do-i-enable-debug-logging-of-the-docker-daemon
[2] https://success.docker.com/article/where-are-the-docker-daemon-logs
[3] https://forums.docker.com/

@bradrydzewski,

Thanks for the hint. Okay, I solved the initial issue which was related to available disk space.

Now I think I could be back to a syntax error in my drone.yml on my side with because of the following error message.

Drone GAE Plugin built from 5263cad6e2e6b32c399567fb1f20a31ec93f8ed1
2 missing required param: token