Skip to content

SMARTS CD Docker

SMARTS CD Docker #1074

Workflow file for this run

name: SMARTS CD Docker
on:
schedule:
- cron: '30 5,17 * * *'
jobs:
docker:
name: Build and push Docker image to Docker Hub
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
repository: huawei-noah/SMARTS
path: './SMARTS'
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to Docker Hub
uses: docker/build-push-action@v3
with:
context: ./SMARTS
builder: ${{ steps.buildx.outputs.name }}
push: true
file: ./SMARTS/utils/docker/Dockerfile
tags: huaweinoah/smarts:latest