Skip to content

Commit

Permalink
タスク定義のロールの権限を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
田中雄大 committed Apr 29, 2024
1 parent 1165507 commit 5437e0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- name: Push the image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} # Login to ECRの結果の中の'repository'の値を参照する
# docker image tag temp_api_image:latest アカウントID.dkr.ecr.ap-northeast-1.amazonaws.com/my-app-api:sha
run: |
docker image tag temp_api_image:latest $ECR_REGISTRY/$ECR_REPOSITORY:${{ github.sha }}
docker image push $ECR_REGISTRY/$ECR_REPOSITORY:${{ github.sha }}
Expand All @@ -55,8 +56,6 @@ jobs:
with:
name: api-image-uri
path: cicd-section/api/api-image-uri.txt
# docker image tag temp_api_image:latest アカウントID.dkr.ecr.ap-northeast-1.amazonaws.com/my-app-api:sha


# Deploy
deploy:
Expand Down

0 comments on commit 5437e0e

Please sign in to comment.