Skip to content

Persmission issues and GCR #1211

Description

@neontuna

Attempting to use this buildpack for a Ruby deploy on Fly.io with a TOML file

# fly.toml app configuration file generated for abari-inventory on 2025-09-12T20:26:29-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'app'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[build]
  builder = 'paketobuildpacks/builder:base'
  buildpacks = ['gcr.io/paketo-buildpacks/ruby']

[[services]]
  protocol = 'tcp'
  internal_port = 9292

  [[services.ports]]
    port = 80
    handlers = ['http']

  [[services.ports]]
    port = 443
    handlers = ['tls', 'http']

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20

  [[services.tcp_checks]]
    interval = '10s'
    timeout = '2s'

The following is output

==> Verifying app config
Validating /path/toml.toml
✓ Configuration is valid
--> Verified app config
==> Building image
Remote builder fly-builder-quiet-violet-8462 ready
==> Building image with Buildpacks
--> docker host: 24.0.7 linux x86_64
base: Pulling from paketobuildpacks/builder
Digest: sha256:17ea21162ba8c7717d3ead3ee3836a368aced7f02f2e59658e52029bd6d149e7
Status: Image is up to date for paketobuildpacks/builder:base
==> Building image
✓ compatible remote builder found
INFO Override builder host with: https://fly-builder-quiet-violet-8462.fly.dev (was tcp://[fdaa:1:1cc0:a7b:409:dc20:a112:2]:2375)

Remote builder fly-builder-quiet-violet-8462 ready
==> Building image with Buildpacks
--> docker host: 24.0.7 linux x86_64
base: Pulling from paketobuildpacks/builder
Digest: sha256:17ea21162ba8c7717d3ead3ee3836a368aced7f02f2e59658e52029bd6d149e7
Status: Image is up to date for paketobuildpacks/builder:base
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:1af9935d8987fd52b2266d288200c9482d1dd5529860bbf5bc2d248de1cb1a38
Status: Image is up to date for paketobuildpacks/run:base-cnb
Error: failed to fetch an image or build from source: downloading buildpack: extracting from registry gcr.io/paketo-buildpacks/ruby: fetching image: Error response from daemon: Head "https://gcr.io/v2/paketo-buildpacks/ruby/manifests/latest": denied: Caller does not have permission or the resource may not exist 'read'. To configure permissions, follow instructions at: https://cloud.google.com/container-registry/docs/access-control

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions