File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ jobs:
60
60
if [ -f "${dir}Dockerfile" ]; then
61
61
dir_name=$(basename "$dir")
62
62
if [ "${{ github.event.inputs.environment }}" == "finney" ]; then
63
- yaml_file="ops-setup/clusters/data-warehouse-finney/indexers/${dir }.yaml"
63
+ yaml_file="ops-setup/clusters/data-warehouse-finney/indexers/${dir_name }.yaml"
64
64
elif [ "${{ github.event.inputs.environment }}" == "testnet" ]; then
65
- yaml_file="ops-setup/clusters/data-warehouse-testnet/indexers/${dir }.yaml"
65
+ yaml_file="ops-setup/clusters/data-warehouse-testnet/indexers/${dir_name }.yaml"
66
66
fi
67
67
68
68
if [ -f "$yaml_file" ]; then
69
- sed -i 's|image: .*|image: ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/'${dir }':${{ github.sha }}|' "$yaml_file"
69
+ sed -i 's|image: .*|image: ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/'${dir_name }':${{ github.sha }}|' "$yaml_file"
70
70
else
71
71
echo "Warning: $yaml_file not found"
72
72
fi
You can’t perform that action at this time.
0 commit comments