Compare commits

...

4 Commits

Author SHA1 Message Date
Renovate Bot 636f80dfbb Update dependency boto3 to v1.34.34
Build and push mlflow container / Build and push mlflow container (push) Successful in 9s Details
2024-02-03 01:00:54 +00:00
Renovate Bot c32ef21c95 Update python:3.10-slim Docker digest to ef44c53
Build and push mlflow container / Build and push mlflow container (push) Successful in 5s Details
2024-02-02 01:01:10 +00:00
Renovate Bot c34f5ae69c Update ghcr.io/catthehacker/ubuntu:act-latest Docker digest to f7a2114
Build and push mlflow container / Build and push mlflow container (push) Successful in 52s Details
2024-02-02 01:00:55 +00:00
Mathis 6601848406 Remove date from docker tag
Build and push mlflow container / Build and push mlflow container (push) Successful in 14s Details
2024-02-01 12:33:36 +00:00
3 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,3 @@
mlflow==2.10.0
psycopg2-binary==2.9.9
boto3==1.34.31
boto3==1.34.34