Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
Signed-off-by: eternaltyro <230743+eternaltyro@users.noreply.github.com>
  • Loading branch information
eternaltyro committed May 17, 2024
1 parent 8e3fdea commit 0e4ac66
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ecs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
packages: write

outputs:
image_name: ${{ steps.parse-image-meta.image_name }}
image_tags: ${{ steps.meta.outputs.tags }}

steps:
- uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -56,13 +56,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Parse build step metadata
id: parse-image-meta
run: |
IMAGE=$( echo $BUILD_META | jq '."image.name"' )
echo "image_name=${IMAGE}" >> $GITHUB_OUTPUT
env:
BUILD_META: ${{ steps.build-push-image.outputs.Metadata }}

deploy:
name: Deploy to ECS
Expand Down Expand Up @@ -95,7 +88,7 @@ jobs:
with:
task-definition: task-definition.json
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ needs.image-build-and-push.outputs.image_name }}
image: ${{ needs.image-build-and-push.outputs.image_tags }}

- name: Deploy task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
Expand Down

0 comments on commit 0e4ac66

Please sign in to comment.