release: remove cri-containerd-*.tar.gz release bundles
The `cri-containerd-*.tar.gz` release bundles have been deprecated since containerd v1.6. These bundles are no longer created in the CI, however, the corresponding Makefile targets are still kept, as they are still used by external CIs. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -121,8 +121,8 @@ jobs:
|
||||
docker buildx build ${cache} --build-arg RELEASE_VER --build-arg UBUNTU_VERSION=${{ matrix.dockerfile-ubuntu }} --build-arg GO_VERSION ${BUILD_ARGS} -f .github/workflows/release/Dockerfile --platform=${PLATFORM} -o releases/ .
|
||||
echo PLATFORM_CLEAN=${PLATFORM/\//-} >> $GITHUB_ENV
|
||||
|
||||
# Remove symlinks since we don't want these in the release Artifacts
|
||||
find ./releases/ -maxdepth 1 -type l | xargs rm
|
||||
# Remove symlinks since we don't want these in the release Artifacts (if any)
|
||||
find ./releases/ -maxdepth 1 -type l | xargs rm -f
|
||||
working-directory: src/github.com/containerd/containerd
|
||||
env:
|
||||
PLATFORM: ${{ matrix.dockerfile-platform }}
|
||||
|
||||
5
.github/workflows/release/Dockerfile
vendored
5
.github/workflows/release/Dockerfile
vendored
@@ -27,7 +27,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get install -y dpkg-dev git make pkg-config
|
||||
ARG TARGETPLATFORM
|
||||
RUN xx-apt-get install -y libseccomp-dev btrfs-progs gcc
|
||||
# gcc is needed for github.com/containerd/btrfs/v2
|
||||
RUN xx-apt-get install -y gcc
|
||||
ENV PATH=/usr/local/go/bin:$PATH
|
||||
ENV GOPATH=/go
|
||||
ENV CGO_ENABLED=1
|
||||
@@ -49,7 +50,7 @@ RUN \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
--mount=type=cache,target=/go/pkg \
|
||||
export CC=$(xx-info)-gcc && xx-go --wrap && \
|
||||
make release static-release cri-release cri-cni-release && \
|
||||
make release static-release && \
|
||||
for f in $(find bin -executable -type f); do xx-verify $f; done
|
||||
|
||||
# check git working tree after build
|
||||
|
||||
Reference in New Issue
Block a user