[v0.12 backport] build(deps): bump docker/bake-action from v3 to v5
Bumps:
- docker/bake-action from
v3tov5to fix the docker/bake-action < v5 is not compatible with buildx >= 0.20.0 error. - Go to
1.21: https://tip.golang.org/doc/go1.21 golangci-linttov1.54.2: https://github.com/golangci/golangci-lint/releases/tag/v1.54.2
Something failing in the golangci-lint install script; wondering if we need to either pin the script to a version on its own, or if something's missing (the "unable to find v seems as if a value is empty) 🤔
#12 [stage-0 3/6] RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_LINT_VERSION}
#12 0.066 Connecting to raw.githubusercontent.com (185.199.110.133:443)
#12 0.132 writing to stdout
#12 0.134 - 100% |********************************| 11589 0:00:00 ETA
#12 0.134 written to stdout
#12 0.139 golangci/golangci-lint info checking GitHub for tag 'v'
#12 0.363 wget: server returned error: HTTP/1.1 404 Not Found
#12 0.364 golangci/golangci-lint crit unable to find 'v' - use 'latest' or see https://github.com/golangci/golangci-lint/releases for details
#12 ERROR: process "/bin/sh -c wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_LINT_VERSION}" did not complete successfully: exit code: 1
Something failing in the golangci-lint install script; wondering if we need to either pin the script to a version on its own, or if something's missing (the "unable to find
vseems as if a value is empty) 🤔#12 [stage-0 3/6] RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_LINT_VERSION} #12 0.066 Connecting to raw.githubusercontent.com (185.199.110.133:443) #12 0.132 writing to stdout #12 0.134 - 100% |********************************| 11589 0:00:00 ETA #12 0.134 written to stdout #12 0.139 golangci/golangci-lint info checking GitHub for tag 'v' #12 0.363 wget: server returned error: HTTP/1.1 404 Not Found #12 0.364 golangci/golangci-lint crit unable to find 'v' - use 'latest' or see https://github.com/golangci/golangci-lint/releases for details #12 ERROR: process "/bin/sh -c wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_LINT_VERSION}" did not complete successfully: exit code: 1
ARGs before FROM only exist to parameterize FROM. To use them inside the stage, we must re-declare them after FROM. This has already been fixed in the latest commit. It should be fine now.
I'm closing this for now to clear the review queue. We can reopen it if this is still needed.