Skip to content

Merge branch 'main' of https://github.com/KhaosResearch/mlops-landcov… #20

Merge branch 'main' of https://github.com/KhaosResearch/mlops-landcov…

Merge branch 'main' of https://github.com/KhaosResearch/mlops-landcov… #20

name: Landcover retraining prefect Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-push-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Login into ghcr
uses: docker/login-action@v2.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v4.1.0
with:
context: ./training/
file: ./training/Dockerfile
push: true
tags: ghcr.io/khaosresearch/prefect-landcover
labels: latest