mirror of
https://github.com/containers/skopeo.git
synced 2025-08-23 08:39:01 +00:00
Before we use "go get" in CI, run "go version" so that we can be sure of which version of the toolchain we're using. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
18 lines
380 B
Bash
Executable File
18 lines
380 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
export GOPATH=$(pwd)/_gopath
|
|
export PATH=$GOPATH/bin:$PATH
|
|
|
|
_containers="${GOPATH}/src/github.com/containers"
|
|
mkdir -vp ${_containers}
|
|
ln -vsf $(pwd) ${_containers}/skopeo
|
|
|
|
go version
|
|
go get -u github.com/cpuguy83/go-md2man golang.org/x/lint/golint
|
|
|
|
cd ${_containers}/skopeo
|
|
make validate-local test-unit-local binary-local
|
|
sudo make install
|
|
skopeo -v
|