Skip to content

Commit

Permalink
no -
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el committed Jan 12, 2024
1 parent be465bf commit c0eb0bf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dev-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -70,18 +70,18 @@ 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 }}

- 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

0 comments on commit c0eb0bf

Please sign in to comment.