Skip to content

Commit 76a66b7

Browse files
committed
build docker on push
1 parent 7a58465 commit 76a66b7

2 files changed

Lines changed: 6 additions & 34 deletions

File tree

.github/workflows/docker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Publish Docker image
22

33
on:
4+
push:
5+
branches: [main]
46
release:
57
types: [published]
68

@@ -28,6 +30,10 @@ jobs:
2830
uses: docker/metadata-action@v5
2931
with:
3032
images: kristojorgenson/bsky-label-watcher
33+
tags: |
34+
type=raw,value=latest,enable={{is_default_branch}}
35+
type=sha,prefix=
36+
type=semver,pattern={{version}}
3137
3238
- name: Build and push Docker image
3339
id: push

.github/workflows/release.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)