Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions buildkitd.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package:
name: buildkitd
version: 0.11.6
version: 0.12.0
description: "concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit"
epoch: 3
epoch: 0
copyright:
- license: Apache-2.0

Expand All @@ -20,21 +20,13 @@ pipeline:
with:
repository: https://github.com/moby/buildkit
tag: v${{package.version}}
expected-commit: 2951a28cd7085eb18979b1f710678623d94ed578
expected-commit: 18fc875d9bfd6e065cd8211abc639434ba65aa56

- runs: |
PKG=github.com/moby/buildkit
VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags)
REVISION=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi)

# CHECK-WHEN-VERSION-CHANGES: 0.11.6
# Mitigate GHSA-232p-vwff-86mp GHSA-33pg-m6jh-5237 and GHSA-6wrf-mxfj-pf5p
go get github.com/docker/[email protected]+incompatible
# Mitigate CVE-2022-41723
go get golang.org/x/[email protected]
go mod tidy
go mod vendor

mkdir -p ${{targets.destdir}}/usr/bin
go build \
-ldflags "-s -w -X ${PKG}/version.Version=${VERSION} -X ${PKG}/version.Revision=${REVISION} -X ${PKG}/version.Package=${PKG} -extldflags '-static'" \
Expand Down