Skip to content

Commit

Permalink
rebuild latest release images on a weekly basis (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman authored Feb 14, 2022
1 parent 3178540 commit 4910758
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker-image-push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and push multi-arch Docker image

on:
schedule:
- cron: '0 9 * * FRI'
release:
types: [published]

Expand All @@ -16,6 +18,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 0

- name: Checkout release to build
run: |
if [[ $GITHUB_EVENT_NAME == schedule ]]; then
# Use the latest stable version
git checkout "$(git tag -l | grep -E "^[0-9]*\.[0-9]*\.[0-9]*$" | tail -n 1)"
fi
- name: Docker login
env:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Unreleased
- Rebuild latest stable release images on a weekly basis.

## 4.3.0 (2021-11-23)
- Bump [`thelounge`][1] to [`4.3.0`](https://github.com/thelounge/thelounge/releases/tag/v4.3.0).
- Upgrade Node.js base images from 12 to LTS.
Expand Down

0 comments on commit 4910758

Please sign in to comment.