From e83290e74cca0c45c1b184d06c4eeea08f79d321 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sun, 23 Aug 2020 10:59:04 +0200 Subject: [PATCH] use git clone instead of go get --- .github/workflows/podman.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/podman.yml b/.github/workflows/podman.yml index 3d7c993db4..77a652a201 100644 --- a/.github/workflows/podman.yml +++ b/.github/workflows/podman.yml @@ -48,6 +48,8 @@ jobs: - name: Install podman run: | + export GOPATH=$(go env GOPATH) + sudo apt-get -y install \ btrfs-tools \ git \ @@ -79,7 +81,7 @@ jobs: popd # Install runc - go get https://github.com/opencontainers/runc.git + git clone https://github.com/opencontainers/runc.git $GOPATH/src/github.com/opencontainers/runc pushd $GOPATH/src/github.com/opencontainers/runc make BUILDTAGS="selinux seccomp" sudo cp runc /usr/bin/runc @@ -93,7 +95,7 @@ jobs: sudo tar -C /usr/libexec/cni -xvzf /tmp/cni.tgz # Install podman - go get https://github.com/containers/podman/ + git clone https://github.com/containers/podman/ $GOPATH/src/github.com/containers/podman cd $GOPATH/src/github.com/containers/podman make BUILDTAGS="selinux seccomp" sudo make install PREFIX=/usr