Skip to content

Commit 9554903

Browse files
authored
Update docker.yml
1 parent 320a0c6 commit 9554903

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
---
2-
name: docker
1+
name: Build and publish a Docker image to ghcr.io
32

43
on:
54
release:
6-
types:
7-
- published
5+
types: [ published ]
86

97
push:
108
branches:
119
- master
1210

13-
workflow_dispatch:
14-
1511
jobs:
16-
publish:
17-
runs-on: ubuntu-latest
12+
docker_publish:
13+
runs-on: "ubuntu-24.04"
14+
1815
steps:
1916
- uses: actions/checkout@v4
20-
- uses: macbre/push-to-ghcr@master
17+
18+
- name: Build and publish a Docker image for ${{ github.repository }}
19+
uses: macbre/push-to-ghcr@master
2120
with:
2221
image_name: ${{ github.repository }}
2322
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)