Skip to content

Commit fac9a08

Browse files
committed
Actions and outputs updated
1 parent 9a3dc35 commit fac9a08

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

.github/workflows/integration-delivery.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
run: |
3333
python -m pip install --upgrade pip
3434
pip install -r requirements.txt
35+
36+
- name: Run tests
37+
run: pytest
3538

3639
build :
3740
name: Continuous Integration and Delivery
@@ -50,15 +53,15 @@ jobs:
5053
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
5154

5255
- name: Build image
53-
run: docker build -t $DOCKER_USERNAME/myapp:latest .
56+
run: docker build -t $DOCKER_USERNAME/mlapp:latest .
5457

5558
- name: Scan Docker image with Trivy
5659
run: |
5760
docker run --rm \
5861
-v /var/run/docker.sock:/var/run/docker.sock \
59-
aquasec/trivy:latest image $DOCKER_USERNAME/myapp:latest || true
62+
aquasec/trivy:latest image $DOCKER_USERNAME/mlapp:latest || true
6063
6164
- name: Push image to Docker Hub
62-
run: docker push $DOCKER_USERNAME/myapp:latest
65+
run: docker push $DOCKER_USERNAME/mlapp:latest
6366

6467

docker-run.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

outputs/Airflow_output.png

196 KB
Loading

outputs/Mlflow_output.png

172 KB
Loading

0 commit comments

Comments
 (0)