Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ jobs:
# uv publish \
# --trusted-publishing always \
# dist/*

docker:
name: Build and Push Docker Image
needs: release
uses: ./.github/workflows/docker.yml
with:
push: true
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- main
workflow_call:
inputs:
push:
description: 'Push image to registry'
required: false
type: boolean
default: false

env:
REGISTRY: docker.io
Expand Down Expand Up @@ -49,6 +55,6 @@ jobs:
uv run tutor images build backups

- name: Push Docker image
if: github.event_name == 'workflow_dispatch'
if: inputs.push
run: |
uv run tutor images push backups