Skip to content

Commit b0dfada

Browse files
committed
test workflow
1 parent 278d359 commit b0dfada

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: Docker Publish
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
push_to_registry:
7-
description: 'Push image to registry'
8-
required: false
9-
default: true
10-
type: boolean
4+
push:
5+
paths:
6+
- '.github/workflows/docker-publish.yml'
7+
- 'Dockerfile'
118

129
env:
1310
REGISTRY: ghcr.io
@@ -40,7 +37,7 @@ jobs:
4037
with:
4138
context: .
4239
file: ./Dockerfile
43-
push: ${{ inputs.push_to_registry }}
40+
push: false
4441
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
4542
cache-from: type=gha
4643
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)