ci/cd: fix build/test workflow

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2022-02-09 05:01:00 +00:00 committed by Ramkumar Chinchani
parent 40d6174c1e
commit 73027fbce5
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ jobs:
run: |
echo "Building for $OS:$ARCH"
cd $GITHUB_WORKSPACE
if [ "${OS}" == "linux" && "${ARCH}" == "amd64" ]; then
if [[ $OS == "linux" && $ARCH == "amd64" ]]; then
make OS=$OS ARCH=$ARCH
else
make OS=$OS ARCH=$ARCH binary binary-minimal binary-debug cli bench exporter-minimal

View File

@ -164,7 +164,7 @@ run: binary test
.PHONY: verify-config
verify-config: binary
$(foreach file, $(wildcard examples/config-*), ./bin/zot verify $(file) || exit 1;)
$(foreach file, $(wildcard examples/config-*), ./bin/zot-$(OS)-$(ARCH) verify $(file) || exit 1;)
.PHONY: binary-container
binary-container: