buildpacks / pack

CLI for building apps using Cloud Native Buildpacks
https://buildpacks.io
Apache License 2.0
2.56k stars 286 forks source link

Pack `0.34.0` was not released in Dockerhub #2172

Closed jjbustamante closed 4 months ago

jjbustamante commented 4 months ago

Description

Pack 0.34.0 was released today (05/30/2024) but the binary was not delivered to docker hub because a compilation issue during the execution of the pipeline.

> [linux/amd64 builder 4/4] RUN make build:
14.04 go: downloading github.com/beorn7/perks v1.0.1
14.05 go: downloading github.com/cespare/xxhash/v2 v2.2.0
14.06 go: downloading github.com/prometheus/client_model v0.5.0
14.09 go: downloading github.com/prometheus/common v0.48.0
14.10 go: downloading github.com/prometheus/procfs v0.12.0
30.24 /go/pkg/mod/go.opentelemetry.io/otel@v1.25.0/attribute/set.go:7:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
30.24 note: imported by a module that requires go 1.21
30.24 /go/pkg/mod/go.opentelemetry.io/otel@v1.25.0/attribute/set.go:10:2: package slices is not in GOROOT (/usr/local/go/src/slices)
30.24 note: imported by a module that requires go 1.21
30.24 make: *** [Makefile:61: build] Error 1
------
Dockerfile:8
--------------------
   6 |     WORKDIR /app
   7 |     COPY . .
   8 | >>> RUN make build
   9 |     
  10 |     FROM ${base_image}
--------------------
ERROR: failed to solve: process "/bin/sh -c make build" did not complete successfully: exit code: 2
Error: Process completed with exit code 1.

Proposed solution

Fix the problem with the CI/CD

Additional context