Skip to content

Bump mlflow from 1.23.1 to 2.5.0 in /orbyter-mlflow-server (#141) #11

Bump mlflow from 1.23.1 to 2.5.0 in /orbyter-mlflow-server (#141)

Bump mlflow from 1.23.1 to 2.5.0 in /orbyter-mlflow-server (#141) #11

name: Publish Docker image
on:
push:
tags:
- orbyter-base-sys-dl-[0-9].*
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/orbyter-base-sys-dl-}
- name: Echo version
id: echo_version
run: echo ${{ steps.get_version.outputs.VERSION }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: orbyter-base-sys-dl
push: true
tags: |
manifoldai/orbyter-base-sys-dl:latest
manifoldai/orbyter-base-sys-dl:${{ steps.get_version.outputs.VERSION }}