File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Publish
1
+ name : Publish Docker
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ tags : ["v*"]
7
+ pull_request :
8
+ branches : [main]
4
9
5
10
env :
6
11
REGISTRY : ghcr.io
10
15
push_to_registry :
11
16
name : Push Docker image to Docker Hub
12
17
runs-on : ubuntu-latest
13
- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
18
+ if : github.event_name == 'push'
14
19
permissions :
15
20
packages : write
16
21
contents : read
Original file line number Diff line number Diff line change 1
- 0.0.3 (Unreleased)
1
+ 0.1.0 (Unreleased)
2
2
==================
3
3
4
+ - Build Docker on every push to main
4
5
- Use exact versions in pyproject.toml
5
6
- Edit GH actions to run on main
6
7
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ The easiest way to run NXBrew-watcher is through docker-compose:
15
15
services:
16
16
17
17
nxbrew-watcher:
18
- image: ghcr.io/bbtufty/nxbrew-watcher:latest
18
+ image: ghcr.io/bbtufty/nxbrew-watcher:latest # or :main for the bleeding edge
19
19
container_name: nxbrew-watcher
20
20
network_mode: bridge
21
21
environment:
You can’t perform that action at this time.
0 commit comments