Skip to content

Merge pull request #32 from NickLucche/global-refactoring #3

Merge pull request #32 from NickLucche/global-refactoring

Merge pull request #32 from NickLucche/global-refactoring #3

name: Docker Build and Push CI
on:
push:
branches: ['master']
paths:
- '**.py'
- 'Dockerfile'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: nicklucche
password: ${{ secrets.DOCKERHUB_PASS }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: nicklucche/stable-diffusion:latest