We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jobs: build: runs-on: ubuntu-latest defaults: run: working-directory: ./subapp - name: Download task definition run: | aws ecs describe-task-definition --task-definition subapp --query taskDefinition > taskdefinition.json - name: new image in ECS taskdefinition id: task-def uses: aws-actions/amazon-ecs-render-task-definition@v1 with: task-definition: taskdefinition.json container-name: subapp-container image: ${{ steps.login-ecr.outputs.registry }}/subapp:${{ github.sha }}
Fails with file not found error, because it was written at the working directory. Workaround was to provide the path by using pwd.
pwd
- name: Print current directory id: pwd run: echo "::set-output name=path::$(pwd)" - name: new image in ECS taskdefinition id: task-def uses: aws-actions/amazon-ecs-render-task-definition@v1 with: task-definition: ${{ steps.pwd.outputs.path }}/taskdefinition.json container-name: subapp-container image: ${{ steps.login-ecr.outputs.registry }}/subapp:${{ github.sha }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fails with file not found error, because it was written at the working directory. Workaround was to provide the path by using
pwd
.The text was updated successfully, but these errors were encountered: