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:
Gregory Campbell
2026-06-19 13:29:38 -04:00
committed by GitHub
parent a24c555031
commit 3b351f1a2b
+4
View File
@@ -20,3 +20,7 @@ jobs:
run: cargo build --verbose
- name: Run tests
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