Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mystist committed Oct 15, 2024
1 parent d079940 commit f8ea975
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
name: Deploy to ${{ github.ref_name }}
environment: ${{ github.ref_name }}
permissions:
contents: read
Expand All @@ -42,7 +41,7 @@ jobs:
context: .
build-args: APP_ENV=${{ github.ref_name }}
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.CONTAINER_NAME }}:${{ github.ref_name }}
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down Expand Up @@ -79,7 +78,7 @@ jobs:
with:
task-definition: ${{ env.TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
image: ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}

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

0 comments on commit f8ea975

Please sign in to comment.