Skip to content

Commit

Permalink
try to fix test with 0.12.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pn-santos committed Feb 23, 2024
1 parent bb9b3ad commit 6ad9b58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM concourse/golang-builder AS builder
RUN go build -o /assets/task ./cmd/task
RUN go build -o /assets/build ./cmd/build

FROM moby/buildkit:v0.12.4 AS task
FROM moby/buildkit:v0.12.5 AS task
COPY --from=builder /assets/task /usr/bin/
COPY --from=builder /assets/build /usr/bin/
COPY bin/setup-cgroups /usr/bin/
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-buildkit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if ! which buildctl >/dev/null || ! which buildkitd >/dev/null; then
BUILDKIT_VERSION=0.12.4
BUILDKIT_VERSION=0.12.5
BUILDKIT_URL=https://github.com/moby/buildkit/releases/download/v$BUILDKIT_VERSION/buildkit-v$BUILDKIT_VERSION.linux-amd64.tar.gz

curl -fL "$BUILDKIT_URL" | tar zxf -
Expand Down
1 change: 1 addition & 0 deletions task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func (s *TaskSuite) TestImageArgs() {

s.req.Config.ContextDir = "testdata/image-args"
s.req.Config.AdditionalTargets = []string{"first"}
s.req.Config.ImagePlatform = "linux/amd64"
s.req.Config.ImageArgs = []string{
"first_image=" + firstPath,
"second_image=" + secondPath,
Expand Down

0 comments on commit 6ad9b58

Please sign in to comment.