Skip to content

Commit a0e982c

Browse files
committed
ci: push images on release
1 parent 2c30ff7 commit a0e982c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
uses: docker/build-push-action@v5
5757
with:
5858
context: .
59+
push: true
5960
platforms: |
6061
linux/amd64
6162
linux/arm64

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Install:
2323
```
2424
2. _Docker_
2525
```bash
26-
docker run -d --network host -v "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket" ghcr.io/grishy/go-avahi-cname:v2.2.1
26+
docker run -d --network host -v "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket" ghcr.io/grishy/go-avahi-cname:v2.2.2
2727
```
2828

2929
# What is go-avahi-cname?
@@ -136,7 +136,7 @@ services:
136136
network_mode: host
137137
volumes:
138138
- "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket"
139-
image: "ghcr.io/grishy/go-avahi-cname:v2.2.1"
139+
image: "ghcr.io/grishy/go-avahi-cname:v2.2.2"
140140
```
141141
142142
Ansible task to run the container:
@@ -145,7 +145,7 @@ Ansible task to run the container:
145145
- name: go-avahi-cname | Start container
146146
community.docker.docker_container:
147147
name: "go-avahi-cname"
148-
image: "ghcr.io/grishy/go-avahi-cname:v2.2.1"
148+
image: "ghcr.io/grishy/go-avahi-cname:v2.2.2"
149149
restart_policy: unless-stopped
150150
network_mode: host
151151
volumes:
@@ -181,9 +181,9 @@ sudo busctl monitor org.freedesktop.Avahi
181181
Reminder for me, just create a tag and push it.
182182

183183
```bash
184-
# Replace v2.2.1 with the new version in project
185-
git tag -a v2.2.1 -m "Release v2.2.1"
186-
git push origin tag v2.2.1
184+
# Replace v2.2.2 with the new version in project
185+
git tag -a v2.2.2 -m "Release v2.2.2"
186+
git push origin tag v2.2.2
187187
```
188188

189189
## Source of inspiration

0 commit comments

Comments
 (0)