From e0dea72d71bd40bbf18340cf6eb8e108d958b89b Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Wed, 10 Jan 2024 16:44:51 +0100 Subject: [PATCH] working ci --- .github/workflows/dev-ci-cd.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dev-ci-cd.yml b/.github/workflows/dev-ci-cd.yml index 63b5876..7f9175a 100644 --- a/.github/workflows/dev-ci-cd.yml +++ b/.github/workflows/dev-ci-cd.yml @@ -29,18 +29,12 @@ jobs: uses: aws-actions/amazon-ecr-login@v2 with: mask-password: "true" - - name: test env variables - run: | - echo "$BACKEND_URL" - env: - BACKEND_URL: ${{ env.BACKEND_URL }} - AUTH_URL: ${{ env.AUTH_URL }} - name: Build image run: | docker build --build-arg BACKEND_URL=$BACKEND_URL --build-arg AUTH_URL=$AUTH_URL --build-arg BUILD_FEATURE="" -t dena-attester:latest . env: - BACKEND_URL: ${{ env.BACKEND_URL }} - AUTH_URL: ${{ env.AUTH_URL }} + BACKEND_URL: ${{ vars.BACKEND_URL }} + AUTH_URL: ${{ vars.AUTH_URL }} - name: Tag, and push image to Amazon ECR env: