correct repo name env

This commit is contained in:
Maidul Islam
2024-03-20 13:05:59 -04:00
parent ede8b6f286
commit 90f739caa6

View File

@@ -44,20 +44,13 @@ jobs:
context: . context: .
file: Dockerfile.standalone-infisical file: Dockerfile.standalone-infisical
tags: infisical/infisical:test tags: infisical/infisical:test
# - name: ⏻ Spawn backend container and dependencies - name: print env
# run: | run: "echo ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest"
# docker compose -f .github/resources/docker-compose.be-test.yml up --wait --quiet-pull
# - name: 🧪 Test backend image
# run: |
# ./.github/resources/healthcheck.sh infisical-backend-test
# - name: ⏻ Shut down backend container and dependencies
# run: |
# docker compose -f .github/resources/docker-compose.be-test.yml down
- name: 🏗️ Build backend and push to docker hub - name: 🏗️ Build backend and push to docker hub
uses: depot/build-push-action@v1 uses: depot/build-push-action@v1
env: env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ secrets.REPO_NAME }} ECR_REPOSITORY: ${{ secrets.AWS_ECR_REPO_NAME }}
with: with:
project: 64mmf0n610 project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }} token: ${{ secrets.DEPOT_PROJECT_TOKEN }}