Skip to content

Commit

Permalink
updates to dev workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsalesky committed Oct 27, 2023
1 parent 851d2b3 commit 5b1a83a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
build/workflow.sh
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DEV_ADMIN_PASSWORD: ${{secrets.DEV_ADMIN_PASSWORD}}
ADMIN_PASSWORD: ${{secrets.ADMIN_PASSWORD}}
DEV_ECR_REPOSITORY: ${{secrets.DEV_ECR_REPOSITORY}}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
4 changes: 2 additions & 2 deletions build/workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ rm -rf $GITHUB_REPOSITORY

### BUILD DOCKER WITH THE APPLICATION AND DATA XAR FILE
echo "Building docker file"
docker build -t "$PACKAGE_NAME:$VERSION" --build-arg ADMIN_PASSWORD="$DEV_ADMIN_PASSWORD" --no-cache .
echo docker build -t "$PACKAGE_NAME:$VERSION" --build-arg ADMIN_PASSWORD="$DEV_ADMIN_PASSWORD" --no-cache .
docker build -t "$PACKAGE_NAME:$VERSION" --build-arg ADMIN_PASSWORD="$ADMIN_PASSWORD" --no-cache .
echo docker build -t "$PACKAGE_NAME:$VERSION" --build-arg ADMIN_PASSWORD="$ADMIN_PASSWORD" --no-cache .
echo "Built successfully"

DOCKER_URL=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$DEV_ECR_REPOSITORY
Expand Down

0 comments on commit 5b1a83a

Please sign in to comment.