So without changing anything on my config, my build process broke. I noticed it in my github action (ubuntu latest), but it is the same running the command locally (mac os)
fly deploy --remote-only --config fly.kitchen.toml
==> Verifying app config
Validating fly.kitchen.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
Remote builder fly-builder-rough-moon-1281 ready
==> Building image with Buildpacks
--> docker host: 20.10.12 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
latest: Pulling from paketo-buildpacks/go
Digest: sha256:e8b932f503151822d5894d25e05484fa2f8243dd903ab0c22fcdfe30b665cf67
Status: Image is up to date for gcr.io/paketo-buildpacks/go:latest
WARNING: image with reference gcr.io/paketo-buildpacks/go was found but does not match the specified platform: wanted linux/amd64, actual: linux
===> ANALYZING
Restoring data for SBOM from previous image
===> DETECTING
4 of 9 buildpacks participating
paketo-buildpacks/ca-certificates 3.6.6
paketo-buildpacks/go-dist 2.4.4
paketo-buildpacks/go-mod-vendor 1.0.27
paketo-buildpacks/go-build 2.1.2
===> RESTORING
Restoring metadata for "paketo-buildpacks/ca-certificates:helper" from app image
Restoring metadata for "paketo-buildpacks/go-dist:go" from cache
Restoring metadata for "paketo-buildpacks/go-mod-vendor:mod-cache" from cache
Restoring metadata for "paketo-buildpacks/go-build:targets" from app image
Restoring metadata for "paketo-buildpacks/go-build:gocache" from cache
Restoring data for "paketo-buildpacks/go-dist:go" from cache
Restoring data for "paketo-buildpacks/go-mod-vendor:mod-cache" from cache
Restoring data for "paketo-buildpacks/go-build:gocache" from cache
Restoring data for SBOM from cache
ERROR: failed to restore: restoring data: layer with SHA 'sha256:7e9945e07f21aeefe9b66f88632f54a0384eb429eba6cd00bd2ee3614dcd1d07' not found: stat /cache/committed/sha256:7e9945e07f21aeefe9b66f88632f54a0384eb429eba6cd00bd2ee3614dcd1d07.tar: no such file or directory
Error: failed to fetch an image or build from source: executing lifecycle: failed with status code: 42
This is my config. It is a pretty vanilla go app from the perspective of deployment.
app = "dumplink-kitchen"
primary_region = "ams"
[build]
builder = "paketobuildpacks/builder:base"
buildpacks = ["gcr.io/paketo-buildpacks/go"]
[build.args]
BP_KEEP_FILES = "static/*:resources/*"
[env]
PORT = "8080"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[statics]]
guest_path = "/workspace/static"
url_prefix = "/static"