Skip to content

test

test #37

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
push_to_registry:
name: Push Docker images
runs-on: ubuntu-latest
steps:
- name: Check repository
uses: actions/checkout@v3
- name: User and Token for Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.CLOUDTP2_USERNAME }}
password: ${{ secrets.CLOUDTP2_TOKEN }}
- name: Build and Push image to change Machine Learning container
uses: docker/build-push-action@v4
with:
context: Train_model/
push: true
tags: leoomaia/ml_cloud
- name: Build and push Docker image for Rest_API server
uses: docker/build-push-action@v4
with:
context: Rest_API/
push: true
tags: leoomaia/server_cloud