Setting up yq installer.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user