mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
Compiling when cache is missing (#2688)
This commit is contained in:
committed by
GitHub
parent
9aa1f43df7
commit
3b5979d783
18
.github/workflows/jobs.yaml
vendored
18
.github/workflows/jobs.yaml
vendored
@@ -990,7 +990,13 @@ jobs:
|
|||||||
VERSION=`git rev-parse HEAD`;
|
VERSION=`git rev-parse HEAD`;
|
||||||
echo $VERSION;
|
echo $VERSION;
|
||||||
echo "Create MinIO image";
|
echo "Create MinIO image";
|
||||||
|
if [ ! -f ../minio ]; then
|
||||||
|
echo "minio binary not found!, so compiling..."
|
||||||
|
make docker VERSION=$VERSION;
|
||||||
|
else
|
||||||
|
echo "Using binary from cache"
|
||||||
cp ../minio .
|
cp ../minio .
|
||||||
|
fi
|
||||||
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
||||||
echo "Jumping back to console repository to run the integration test"
|
echo "Jumping back to console repository to run the integration test"
|
||||||
cd $GITHUB_WORKSPACE;
|
cd $GITHUB_WORKSPACE;
|
||||||
@@ -1076,7 +1082,13 @@ jobs:
|
|||||||
VERSION=`git rev-parse HEAD`;
|
VERSION=`git rev-parse HEAD`;
|
||||||
echo $VERSION;
|
echo $VERSION;
|
||||||
echo "Create MinIO image";
|
echo "Create MinIO image";
|
||||||
|
if [ ! -f ../minio ]; then
|
||||||
|
echo "minio binary not found!, so compiling..."
|
||||||
|
make docker VERSION=$VERSION;
|
||||||
|
else
|
||||||
|
echo "Using binary from cache"
|
||||||
cp ../minio .
|
cp ../minio .
|
||||||
|
fi
|
||||||
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
||||||
echo "Jumping back to console repository to run the integration test"
|
echo "Jumping back to console repository to run the integration test"
|
||||||
cd $GITHUB_WORKSPACE;
|
cd $GITHUB_WORKSPACE;
|
||||||
@@ -1150,7 +1162,13 @@ jobs:
|
|||||||
VERSION=`git rev-parse HEAD`;
|
VERSION=`git rev-parse HEAD`;
|
||||||
echo $VERSION;
|
echo $VERSION;
|
||||||
echo "Create MinIO image";
|
echo "Create MinIO image";
|
||||||
|
if [ ! -f ../minio ]; then
|
||||||
|
echo "minio binary not found!, so compiling..."
|
||||||
|
make docker VERSION=$VERSION;
|
||||||
|
else
|
||||||
|
echo "Using binary from cache"
|
||||||
cp ../minio .
|
cp ../minio .
|
||||||
|
fi
|
||||||
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
docker build -q --no-cache -t minio/minio:$VERSION . -f Dockerfile
|
||||||
echo "Jumping back to console repository to run the integration test"
|
echo "Jumping back to console repository to run the integration test"
|
||||||
cd $GITHUB_WORKSPACE;
|
cd $GITHUB_WORKSPACE;
|
||||||
|
|||||||
Reference in New Issue
Block a user