mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
ci/cd: fix build/test workflow
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
40d6174c1e
commit
73027fbce5
@@ -57,7 +57,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Building for $OS:$ARCH"
|
echo "Building for $OS:$ARCH"
|
||||||
cd $GITHUB_WORKSPACE
|
cd $GITHUB_WORKSPACE
|
||||||
if [ "${OS}" == "linux" && "${ARCH}" == "amd64" ]; then
|
if [[ $OS == "linux" && $ARCH == "amd64" ]]; then
|
||||||
make OS=$OS ARCH=$ARCH
|
make OS=$OS ARCH=$ARCH
|
||||||
else
|
else
|
||||||
make OS=$OS ARCH=$ARCH binary binary-minimal binary-debug cli bench exporter-minimal
|
make OS=$OS ARCH=$ARCH binary binary-minimal binary-debug cli bench exporter-minimal
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ run: binary test
|
|||||||
|
|
||||||
.PHONY: verify-config
|
.PHONY: verify-config
|
||||||
verify-config: binary
|
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
|
.PHONY: binary-container
|
||||||
binary-container:
|
binary-container:
|
||||||
|
|||||||
Reference in New Issue
Block a user