Skip to content

Commit

Permalink
Update docker-build-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leezhuuuuu authored Oct 15, 2024
1 parent d0af4e1 commit 3876698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Read config.yaml and generate Dockerfile
id: generate_dockerfile
run: |
dependencies=$(yq e '.dependencies' config.yaml | tr '\n' ' ')
dependencies=$(yq e '.dependencies[]' config.yaml | tr '\n' ' ')
if [ -z "$dependencies" ]; then
echo "No dependencies found in config.yaml"
exit 1
Expand Down

0 comments on commit 3876698

Please sign in to comment.