Skip to content

Create prefect-image-CI.yml #1

Create prefect-image-CI.yml

Create prefect-image-CI.yml #1

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: Build and push the Docker Image to the GitHub Container Registry
uses: actions/checkout@v3
- name: Build and push the Docker Image to the GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: ./training/
file: ./training/Dockerfile
push: true
tags: ghcr.io/khaosresearch/prefect-landcover
labels: latest