We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f183454 commit 0241e00Copy full SHA for 0241e00
2 files changed
.github/workflows/ci.yml
@@ -85,3 +85,10 @@ jobs:
85
# uv publish \
86
# --trusted-publishing always \
87
# dist/*
88
+
89
+ docker:
90
+ name: Build and Push Docker Image
91
+ needs: release
92
+ uses: ./.github/workflows/docker.yml
93
+ with:
94
+ push: true
.github/workflows/docker.yml
@@ -5,6 +5,12 @@ on:
5
branches:
6
- main
7
workflow_call:
8
+ inputs:
9
+ push:
10
+ description: 'Push image to registry'
11
+ required: false
12
+ type: boolean
13
+ default: false
14
15
env:
16
REGISTRY: docker.io
@@ -49,6 +55,6 @@ jobs:
49
55
uv run tutor images build backups
50
56
51
57
- name: Push Docker image
52
- if: github.event_name == 'workflow_dispatch'
58
+ if: inputs.push
53
59
run: |
54
60
uv run tutor images push backups
0 commit comments