DEV Community

Discussion on: Rails CD with Docker, Github Actions and VPS

Collapse
 
nihilpro profile image
nihil-pro

It doesn't work...

======CMD======
echo $CR_PAT | docker login ghcr.io -u nihilpro --password-stdin
docker-compose pull app
docker-compose up -d --no-deps
======END======
err: Error: Cannot perform an interactive login from a non TTY device
err: No such service: app
err: Pulling redis (redis:alpine)...
out: alpine: Pulling from library/redis
out: Digest: sha256: <..here sha.>
out: Status: Downloaded newer image for redis:alpine
err: Pulling store (app:)...
err: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
err:
err: pull access denied for app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
2021/09/28 11:24:33 Process exited with status 1
out: Continue with the new image? [yN]