Skip to content

Commit

Permalink
fix(deploy-app.yaml): correct syntax error in dagger command for imag…
Browse files Browse the repository at this point in the history
…e deployment

The syntax error in the dagger command line was causing deployment failures. Correcting this ensures that the image deployment process runs smoothly without errors. The fix specifically addresses the missing space between `with-ref` and `--ref` which was causing the command to be parsed incorrectly.
  • Loading branch information
cybersiddhu committed Jun 27, 2024
1 parent 9c9bd93 commit befce5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: buid and push container image
id: app_container
run: |
output=$(dagger call -m $IMAGE_MODULE with-image --image=${{ inputs.image }} with-ref--ref=${{ inputs.ref }} with-dockerfile --docker-file=${{ inputs.dockerfile }} with-namespace --namespace=${{ inputs.namespace }} with-repository --repository=${{ format('https://github.com/{0}',inputs.repository) }} publish-from-repo --user=${{ secrets.DOCKERHUB_USER }} --password=${{ secrets.DOCKER_PASS }})
output=$(dagger call -m $IMAGE_MODULE with-image --image=${{ inputs.image }} with-ref --ref=${{ inputs.ref }} with-dockerfile --docker-file=${{ inputs.dockerfile }} with-namespace --namespace=${{ inputs.namespace }} with-repository --repository=${{ format('https://github.com/{0}',inputs.repository) }} publish-from-repo --user=${{ secrets.DOCKERHUB_USER }} --password=${{ secrets.DOCKER_PASS }})
echo "image=${output}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
Expand Down

0 comments on commit befce5a

Please sign in to comment.