Skip to content

Commit aa860a4

Browse files
authored
Merge pull request #20 from bbtufty/always-build-docker
Always build Docker
2 parents c25d2c5 + c60b1b2 commit aa860a4

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/release.yaml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
tags: ["v*"]
7+
pull_request:
8+
branches: [main]
49

510
env:
611
REGISTRY: ghcr.io
@@ -10,7 +15,7 @@ jobs:
1015
push_to_registry:
1116
name: Push Docker image to Docker Hub
1217
runs-on: ubuntu-latest
13-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
18+
if: github.event_name == 'push'
1419
permissions:
1520
packages: write
1621
contents: read

CHANGES.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
0.0.3 (Unreleased)
1+
0.1.0 (Unreleased)
22
==================
33

4+
- Build Docker on every push to main
45
- Use exact versions in pyproject.toml
56
- Edit GH actions to run on main
67

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The easiest way to run NXBrew-watcher is through docker-compose:
1515
services:
1616
1717
nxbrew-watcher:
18-
image: ghcr.io/bbtufty/nxbrew-watcher:latest
18+
image: ghcr.io/bbtufty/nxbrew-watcher:latest # or :main for the bleeding edge
1919
container_name: nxbrew-watcher
2020
network_mode: bridge
2121
environment:

0 commit comments

Comments
 (0)