Compare commits
No commits in common. "c45d790089be2afe00b91dc2f6e6d965b7709687" and "4129e3aa8ef94d749b4538d6c02426dbb17b15da" have entirely different histories.
c45d790089
...
4129e3aa8e
|
@ -1,31 +0,0 @@
|
||||||
name: Build website container
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build image
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: ghcr.io/catthehacker/ubuntu:act-latest
|
|
||||||
env:
|
|
||||||
IMAGE_NAME: mlflow
|
|
||||||
REGISTRY: git.namesny.com
|
|
||||||
REPO_OWNER: cluster
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.namesny.com
|
|
||||||
username: ${{ gitea.actor }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push
|
|
||||||
run: |
|
|
||||||
VERSION=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)
|
|
||||||
docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${VERSION} -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest .
|
|
||||||
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${VERSION}
|
|
||||||
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
FROM python:3.10-slim
|
|
||||||
COPY requirements.txt .
|
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
EXPOSE 5000
|
|
||||||
ENTRYPOINT ["mlflow", "server"]
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Mlflow
|
# mlflow
|
||||||
|
|
||||||
Mlflow Docker container with support for postgres and s3 storage
|
Mlflow Docker container with support for postgres and s3 storage
|
|
@ -1,3 +0,0 @@
|
||||||
mlflow==2.7.0
|
|
||||||
psycopg2-binary==2.9.9
|
|
||||||
boto3==1.33.3
|
|
Loading…
Reference in New Issue