Compare commits

...

13 Commits

Author SHA1 Message Date
Mathis 47e409ff15 Merge branch 'main' into renovate/python-3.10-slim 2024-01-31 12:40:53 +00:00
LordMathis dba48e3599 Combine workflows
Build and push mlflow container / Create mlflow tag (push) Successful in 5s Details
Build and push mlflow container / Build and push mlflow container (push) Has been skipped Details
2024-01-31 13:38:37 +01:00
LordMathis 6e126a6027 Automerge digest
Create mlflow tag / Create mlflow tag (push) Successful in 5s Details
2024-01-31 12:18:27 +01:00
LordMathis 587d81e672 Update if statement
Create mlflow tag / Create mlflow tag (push) Successful in 5s Details
2024-01-31 12:15:11 +01:00
LordMathis 672f896a6a Fetch tags separately
Create mlflow tag / Create mlflow tag (push) Failing after 5s Details
2024-01-31 12:12:28 +01:00
LordMathis 53f205caff Fetch tags with checkout
Create mlflow tag / Create mlflow tag (push) Failing after 4s Details
2024-01-31 12:04:13 +01:00
LordMathis 7ef590b6aa Fix release workflow trigger
Create mlflow tag / Create mlflow tag (push) Failing after 4s Details
2024-01-31 11:58:17 +01:00
LordMathis 5d18526774 Add tag workflow
Build website container / Build image (push) Successful in 12s Details
Create mlflow tag / Build image (push) Successful in 5s Details
2024-01-31 11:54:43 +01:00
Renovate Bot daac3e4347 Update dependency boto3 to v1.34.31
Build website container / Build image (push) Successful in 3m29s Details
2024-01-31 01:00:47 +00:00
Renovate Bot f618a96bef Update dependency boto3 to v1.34.29
Build website container / Build image (push) Successful in 3m46s Details
2024-01-27 01:00:54 +00:00
Renovate Bot 89666703cf Update dependency boto3 to v1.34.27
Build website container / Build image (push) Successful in 3m35s Details
2024-01-25 01:00:52 +00:00
Renovate Bot 09a11046c0 Update dependency boto3 to v1.34.26
Build website container / Build image (push) Successful in 3m35s Details
2024-01-24 01:00:52 +00:00
Renovate Bot 0578c89058 Update dependency boto3 to v1.34.23
Build website container / Build image (push) Successful in 5m34s Details
2024-01-20 01:00:49 +00:00
3 changed files with 38 additions and 3 deletions

View File

@ -1,12 +1,44 @@
name: Build website container
name: Build and push mlflow container
on:
push:
branches:
- main
jobs:
tag:
name: Create mlflow tag
runs-on: ubuntu-latest
outputs:
tag_created: ${{ steps.create.outputs.created }}
container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:8583ed2b7d097609ff91cc914696324ee945ceb8639967759f4cebbfcb8e63a5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch tags
run: git fetch --tags origin
- name: Get latest git tag
id: tag
run: echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- name: Get mlflow version
id: mlflow
run: echo "mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)" >> $GITHUB_OUTPUT
- name: Create tag if it doesn't exist
id: create
run: |
if git tag -l "${{ steps.tag.outputs.tag }}"; then
echo "Tag already exists"
echo "created=false" >> $GITHUB_OUTPUT
else
git tag ${{ steps.mlflow.outputs.mlflow }}
git push origin ${{ steps.mlflow.outputs.mlflow }}
echo "created=true" >> $GITHUB_OUTPUT
fi
build:
name: Build image
name: Build and push mlflow container
needs: tag
if: ${{ needs.tag.outputs.tag_created == 'true' }}
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:8583ed2b7d097609ff91cc914696324ee945ceb8639967759f4cebbfcb8e63a5
env:

View File

@ -11,5 +11,8 @@
},
"pin": {
"automerge": true
},
"digest": {
"automerge": true
}
}

View File

@ -1,3 +1,3 @@
mlflow==2.9.2
psycopg2-binary==2.9.9
boto3==1.34.21
boto3==1.34.31