Skip to content

feat: update for 4.2, revise workflows, python 3.11, security patches… #12

feat: update for 4.2, revise workflows, python 3.11, security patches…

feat: update for 4.2, revise workflows, python 3.11, security patches… #12

name: Publish base DL 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 "VERSION=${GITHUB_REF#refs/tags/orbyter-base-sys-dl-}" >> $GITHUB_OUTPUT
- 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 }}
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: manifoldai/orbyter-base-sys-dl
readme-filepath: ./orbyter-base-sys-dl/OVERVIEW.md
short-description: "Base image for machine learning development in Python with GPU support"