Skip to content

Commit

Permalink
fix typo add oras install
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Rajoria <[email protected]>
  • Loading branch information
aryan-rajoria committed Nov 5, 2024
1 parent d797d1a commit 23fb44b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,24 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine build
cd blint-db && python -m pip install .
poetry install --with build
ls -al
ls -ald ../*/
ls -ald ../temp/*/
- name: Install apt package
run: |
sudo apt install libzmq3-dev libx11-dev qtbase5-dev libgl1-mesa-dev ninja-build file -y
- name: Install ORAS
run: |
curl -LO "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_amd64.tar.gz"
mkdir -p oras-install/
tar -zxf oras_1.2.0_*.tar.gz -C oras-install/
sudo mv oras-install/oras /usr/local/bin/
rm -rf oras_1.2.0_*.tar.gz oras-install/
- name: Build and upload db
run: |
mkdir -p temp
python blint-db/blint_db/cli.py -Z1
echo $GITHUB_TOKEN | oras login ghcr.io -u $GITHUB_USERNAME --password-stdin
cd blint-db
oras push ghcr.io/appthreat/blintdb-vcpkg:v0.1 \
oras push ghcr.io/appthreat/blintdb-meson:v0.1 \
--config ../.oras/config.json:application/vnd.oras.config.v1+json \
--annotation-file ../.oras/annotations.json \
./blint.db:application/vnd.appthreat.vdb.layer.v1+tar \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
python blint-db/blint_db/cli.py -Z2
echo $GITHUB_TOKEN | oras login ghcr.io -u $GITHUB_USERNAME --password-stdin
cd blint-db
oras push ghcr.io/appthreat/blintdb-meson:v0.1 \
oras push ghcr.io/appthreat/blintdb-vcpkg:v0.1 \
--config ../config.json:application/vnd.oras.config.v1+json \
--annotation-file ../annotations.json \
./blint.db:application/vnd.appthreat.vdb.layer.v1+tar \
Expand Down

0 comments on commit 23fb44b

Please sign in to comment.