Instead of:
  • name: Log in to DigitalOcean Container Registry with short-lived credentials
run: doctl registries login --expiry-seconds 1200
Should be:
  • name: Log in to DigitalOcean Container Registry with short-lived credentials
run: doctl registries login ${{ secrets.REGISTRY_NAME }} --expiry-seconds 1200