Compare commits
4 Commits
abc42d5681
...
636f80dfbb
Author | SHA1 | Date |
---|---|---|
Renovate Bot | 636f80dfbb | |
Renovate Bot | c32ef21c95 | |
Renovate Bot | c34f5ae69c | |
Mathis | 6601848406 |
|
@ -8,7 +8,7 @@ jobs:
|
|||
build:
|
||||
name: Build and push mlflow container
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:07466dbbecd8690579d9bcbf8a1214240b91534cf03eed5f222e7fd80131f582
|
||||
container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:f7a21149ff1ee95f66ad0697ddf69a01c4cb580dd50a7ae2560877f1aa0a0f4f
|
||||
env:
|
||||
IMAGE_NAME: mlflow
|
||||
REGISTRY: git.namesny.com
|
||||
|
@ -46,7 +46,6 @@ jobs:
|
|||
if: steps.create.outputs.tag_exists == 'false'
|
||||
run: |
|
||||
VERSION=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)
|
||||
TODAY=$(date +'%Y-%m-%d')
|
||||
docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${VERSION}-${TODAY} -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest .
|
||||
docker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${VERSION}-${TODAY}
|
||||
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,4 +1,4 @@
|
|||
FROM python:3.10-slim@sha256:b64d1888e5d1ac06ff2c0ad0fd1fe9c2dc5826de2bbe2e5a87ea4b9346edaf1c
|
||||
FROM python:3.10-slim@sha256:ef44c53813f71871130462fcd1cf77df9a3a468ed7730b402e1216e21ed8fe4f
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE 5000
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
mlflow==2.10.0
|
||||
psycopg2-binary==2.9.9
|
||||
boto3==1.34.31
|
||||
boto3==1.34.34
|
Loading…
Reference in New Issue