Add Docker build and push step in CI workflow
Add step to build and push Docker image to Amazon ECR
This commit is contained in:
@@ -20,3 +20,7 @@ jobs:
|
|||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
|
- name: Build and Push Docker Imaage to Amazon ECR
|
||||||
|
run: |
|
||||||
|
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY_RUST:latest .
|
||||||
|
docker push $ECR_REGISTRY/$ECR_REPOSITORY_RUST:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user