Skip to content

Commit

Permalink
fix(ci): fixed release ci.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Jan 17, 2025
1 parent 02c42a7 commit 7f16fa0
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,26 @@ jobs:
fail-fast: false
matrix:
arch: [ amd64, arm64 ]
container:
image: ubuntu:20.04
container: golang:1.23-bullseye
steps:
# libbtrfs-dev is needed by containerd go package - build time dep, no runtime.
- name: Install plugin deps
run: apt-get update && apt-get install -y --no-install-recommends git make build-essential autoconf libtool pkg-config libbtrfs-dev

- name: Install updated cmake version ⛓️
run: |
curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz
gzip -d /tmp/cmake.tar.gz
tar -xpf /tmp/cmake.tar --directory=/tmp
cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr
rm -rf /tmp/cmake-3.22.5-linux-$(uname -m)
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'

# Needed by containerd go package - build time dep, no runtime.
- name: Install plugin deps
run: apt-get update && apt-get install -y --no-install-recommends libbtrfs-dev

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go-worker/go.mod

- name: Build plugin library
run: make libcontainer.so

Expand Down

0 comments on commit 7f16fa0

Please sign in to comment.