Skip to content

Commit 4910758

Browse files
authored
rebuild latest release images on a weekly basis (#135)
1 parent 3178540 commit 4910758

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/docker-image-push.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build and push multi-arch Docker image
22

33
on:
4+
schedule:
5+
- cron: '0 9 * * FRI'
46
release:
57
types: [published]
68

@@ -16,6 +18,15 @@ jobs:
1618
steps:
1719
- name: Checkout
1820
uses: actions/checkout@v1
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Checkout release to build
25+
run: |
26+
if [[ $GITHUB_EVENT_NAME == schedule ]]; then
27+
# Use the latest stable version
28+
git checkout "$(git tag -l | grep -E "^[0-9]*\.[0-9]*\.[0-9]*$" | tail -n 1)"
29+
fi
1930
2031
- name: Docker login
2132
env:

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Unreleased
4+
- Rebuild latest stable release images on a weekly basis.
5+
36
## 4.3.0 (2021-11-23)
47
- Bump [`thelounge`][1] to [`4.3.0`](https://github.com/thelounge/thelounge/releases/tag/v4.3.0).
58
- Upgrade Node.js base images from 12 to LTS.

0 commit comments

Comments
 (0)