diff --git a/.github/workflows/dev-ci-cd.yml b/.github/workflows/dev-ci-cd.yml index dbf4c14..1f7099c 100644 --- a/.github/workflows/dev-ci-cd.yml +++ b/.github/workflows/dev-ci-cd.yml @@ -30,7 +30,7 @@ jobs: - 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-peregrine:latest . + docker build --build-arg BACKEND_URL=$BACKEND_URL --build-arg AUTH_URL=$AUTH_URL --build-arg BUILD_FEATURE="" -t dena-attester_peregrine:latest . env: BACKEND_URL: ${{ vars.BACKEND_URL }} AUTH_URL: ${{ vars.AUTH_URL }} @@ -41,8 +41,8 @@ jobs: ECR_REPOSITORY: dena/attester_peregrine IMAGE_TAG: ${{ github.sha }} run: | - docker tag dena-attester-peregrine $ECR_REGISTRY/$ECR_REPOSITORY:latest - docker tag dena-attester-peregrine $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG + docker tag dena-attester_peregrine $ECR_REGISTRY/$ECR_REPOSITORY:latest + docker tag dena-attester_peregrine $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest @@ -70,7 +70,7 @@ jobs: - name: Build image run: | - docker build --build-arg BACKEND_URL=$BACKEND_URL --build-arg AUTH_URL=$AUTH_URL -t dena-attester-spiritnet:latest . + docker build --build-arg BACKEND_URL=$BACKEND_URL --build-arg AUTH_URL=$AUTH_URL -t dena-attester_spiritnet:latest . env: BACKEND_URL: ${{ vars.BACKEND_URL }} AUTH_URL: ${{ vars.AUTH_URL }} @@ -78,10 +78,10 @@ jobs: - name: Tag, and push image to Amazon ECR env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: dena/attester-spiritnet + ECR_REPOSITORY: dena/attester_spiritnet IMAGE_TAG: ${{ github.sha }} run: | - docker tag dena-attester-spiritnet $ECR_REGISTRY/$ECR_REPOSITORY:latest - docker tag dena-attester-spiritnet $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG + docker tag dena-attester_spiritnet $ECR_REGISTRY/$ECR_REPOSITORY:latest + docker tag dena-attester_spiritnet $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest