File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,15 @@ jobs:
4848 echo $IMAGE_TAG
4949 echo "IMAGE_TAG=$IMAGE_TAG" >> "$GITHUB_OUTPUT"
5050
51- aws-ecr-build :
52- name : Build ECR image
53- needs : get-tag-name
54- uses : EO-DataHub/github-actions/.github/workflows/docker-image-to-aws- ecr.yaml@main
51+ publish :
52+ name : Build and push Docker image
53+ needs : [ get-tag-name]
54+ uses : EO-DataHub/github-actions/.github/workflows/ecr-publish .yaml@main
5555 with :
56- image_name : resource-catalogue-fastapi
56+ image_name : ${{ vars.IMAGE_NAME }}
5757 image_tag : ${{ needs.get-tag-name.outputs.image_tag }}
58+ aws_role_arn : ${{ vars.AWS_ROLE_ARN }}
59+ aws_ecr_alias : ${{ vars.AWS_ECR_ALIAS }}
5860 permissions :
5961 id-token : write
6062 contents : read
61- secrets :
62- AWS_ACCOUNT_ID : ${{ secrets.AWS_ACCOUNT_ID }}
63- AWS_ECR : ${{ secrets.AWS_ECR }}
64- AWS_REGION : ${{ secrets.AWS_REGION }}
You can’t perform that action at this time.
0 commit comments