Setting up yq installer.

This commit is contained in:
2024-12-31 10:27:06 -05:00
parent cb9753644d
commit 3dc6d149d2
+5
View File
@@ -40,9 +40,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup yq
uses: dcarbone/install-yq-action@v1
- name: Subdomain YAML parsing
id: subdomain-yaml-parsing
run: |
which yq
yq --version
swag_url=$(yq eval '.services[].labels.swag_url' docker-compose.yml | awk -F'.' '{print $1}')
echo "swag_url=$swag_url" >> $GITHUB_OUTPUT