Skip to content

Publish bayesmix-base image #5

Publish bayesmix-base image

Publish bayesmix-base image #5

name: Publish bayesmix-base image
on:
push:
branches:
- 'master'
workflow_dispatch:
jobs:
push_to_registry:
name: Push bayesmix-base Docker image to Docker Hub
if: github.repository == 'bayesmix-dev/bayesmix'
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.MARIO_DOCKERHUB_USERNAME }}
password: ${{ secrets.MARIO_DOCKERHUB_PASSWORD }}
- name: Build and push bayesmix-base
uses: docker/build-push-action@v5
with:
context: .
push: true
file: resources/docker/base/Dockerfile
tags: mberaha/bayesmix-base:latest