Skip to content

Commit d2dec9d

Browse files
authored
Merge pull request #8336 from Lyndon-Li/release-1.15
Pin the version of Golang and base image for v1.15.0
2 parents 706dd13 + 7cd92a5 commit d2dec9d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Velero binary build section
16-
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS velero-builder
16+
FROM --platform=$BUILDPLATFORM golang:1.22.8-bookworm AS velero-builder
1717

1818
ARG GOPROXY
1919
ARG BIN
@@ -47,7 +47,7 @@ RUN mkdir -p /output/usr/bin && \
4747
go clean -modcache -cache
4848

4949
# Restic binary build section
50-
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS restic-builder
50+
FROM --platform=$BUILDPLATFORM golang:1.22.8-bookworm AS restic-builder
5151

5252
ARG BIN
5353
ARG TARGETOS
@@ -70,7 +70,7 @@ RUN mkdir -p /output/usr/bin && \
7070
go clean -modcache -cache
7171

7272
# Velero image packing section
73-
FROM paketobuildpacks/run-jammy-tiny:latest
73+
FROM paketobuildpacks/run-jammy-tiny:0.2.52
7474

7575
LABEL maintainer="Xun Jiang <[email protected]>"
7676

Tiltfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
5252

5353
tilt_helper_dockerfile_header = """
5454
# Tilt image
55-
FROM golang:1.22 as tilt-helper
55+
FROM golang:1.22.8 as tilt-helper
5656
5757
# Support live reloading with Tilt
5858
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vmware-tanzu/velero
22

3-
go 1.22.0
3+
go 1.22.8
44

55
require (
66
cloud.google.com/go/storage v1.40.0

hack/build-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM --platform=$TARGETPLATFORM golang:1.22-bookworm
15+
FROM --platform=$TARGETPLATFORM golang:1.22.8-bookworm
1616

1717
ARG GOPROXY
1818

pkg/uploader/kopia/block_restore_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type BlockOutput struct {
3333
targetFileName string
3434
}
3535

36-
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File) error {
36+
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File, progressCb restore.FileWriteProgress) error {
3737
return fmt.Errorf("block mode is not supported for Windows")
3838
}
3939

0 commit comments

Comments
 (0)