ci/cd: fix build/test workflow
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
parent
40d6174c1e
commit
73027fbce5
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
@ -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
|
||||
|
2
Makefile
2
Makefile
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user