Skip to content

Commit

Permalink
specify shell
Browse files Browse the repository at this point in the history
  • Loading branch information
haedaal authored May 18, 2022
1 parent 6a79831 commit 8572342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ runs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ inputs.ecr-repo }}
TAG: ${{ github.sha }}
shell: bash
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$TAG .
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest
Expand All @@ -51,13 +52,15 @@ runs:
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$TAG"
- name: Download task definition
shell: bash
run: |
aws ecs describe-task-definition \
--task-definition ${{ inputs.task-definition }}
--query taskDefinition > task-definition.json
- name: Get container name
id: container-name
shell: bash
run: |
NAME=$(aws ecs describe-task-definition \
--task-definition ${{ inputs.task-definition }} \
Expand Down

0 comments on commit 8572342

Please sign in to comment.