Skip to content

Commit

Permalink
test.sh: expose ORAS_PORT
Browse files Browse the repository at this point in the history
Signed-off-by: Isabella do Amaral <[email protected]>
  • Loading branch information
isinyaaa committed Aug 21, 2024
1 parent 2eb94e6 commit dfdab0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $DIR/../

# Ensure envars are defined - expected registry port and host
export ORAS_PORT=5000
export ORAS_PORT=${ORAS_PORT:-5000}
export ORAS_HOST=localhost
export ORAS_REGISTRY=${ORAS_HOST}:${ORAS_PORT}
export ORAS_USER=myuser
Expand Down

0 comments on commit dfdab0f

Please sign in to comment.