Improve patch application #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |