mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
ci/cd: fix build/test workflow
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
parent
40d6174c1e
commit
73027fbce5
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
|
@ -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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue