diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index dcc7756..1076541 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -50,12 +50,11 @@ jobs: env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} IMAGE_TAG: ${{ github.sha }} - GIT_API_TOKEN: ${{ secrets.GIT_API_TOKEN }} run: | # Build a docker container and # push it to ECR so that it can # be deployed to ECS. - docker build --secret id=GIT_API_TOKEN,env=$GIT_API_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT