Skip to content

Commit

Permalink
update flarum beta 13
Browse files Browse the repository at this point in the history
  • Loading branch information
al3xLvs committed May 6, 2020
1 parent 310eacf commit 9573db8
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-tag.yml → .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build-tag
name: tag

on:
push:
tags:
- stable-*
- stable-*

jobs:
build-tag:
tag:
runs-on: ubuntu-latest
steps:
-
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:3.11
LABEL description="Simple forum software for building great communities" \
maintainer="Hardware <hardware@mondedie.fr>, Magicalex <magicalex@mondedie.fr>"

ARG VERSION=v0.1.0-beta.12
ARG VERSION=v0.1.0-beta.13

ENV GID=991 \
UID=991 \
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

MIT License

Copyright (c) 2020 mondedie/flarum
Copyright (c) 2016-2020 mondedie/flarum

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![logo](https://i.imgur.com/Bjrtbsc.png)

![](https://github.com/mondediefr/docker-flarum/workflows/build/badge.svg)
[![](https://github.com/mondediefr/docker-flarum/workflows/build/badge.svg)](https://github.com/mondediefr/docker-flarum/actions)
[![](https://img.shields.io/docker/pulls/mondedie/flarum)](https://hub.docker.com/r/mondedie/flarum)
[![](https://img.shields.io/docker/stars/mondedie/flarum)](https://hub.docker.com/r/mondedie/flarum)

Expand All @@ -17,13 +17,13 @@
- Multi-platform image: `linux/386`, `linux/amd64`, `linux/arm/v6`, `linux/arm/v7`, `linux/arm64`
- Lightweight & secure image
- Based on Alpine Linux with **nginx** and **PHP 7.3**
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.11.1)
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.13)
- MySQL/Mariadb driver
- OPCache extension configured

### Build-time variables

- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.11*)
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.13*)

### Ports

Expand Down
35 changes: 35 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Guide for upgrade your flarum container

### Upgrade to v0.1.0-beta.13 from v0.1.0-beta.12

:warning: Backup your database, config.php, composer.lock and assets folder
:warning: Disable all 3rd party extensions prior to upgrading in panel admin.

1 - Update your docker-compose file, see an example [here](https://github.com/mondediefr/docker-flarum/tree/master#2---docker-composeyml)

```yml
version: "3"

services:
flarum:
image: mondedie/flarum:stable-v0.1.0-beta.13
...
```

2 - Pull the last docker images

```sh
docker pull mondedie/flarum:stable-v0.1.0-beta.13
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum
```

3 - Updating your database and removing old assets

```sh
docker exec -ti flarum php /flarum/app/flarum migrate
docker exec -ti flarum php /flarum/app/flarum cache:clear
```

After that your upgrade is finish. :tada: :tada:

### Upgrade to v0.1.0-beta.12 from v0.1.0-beta.11.1

:warning: Backup your database, config.php, composer.lock and assets folder
Expand All @@ -13,6 +47,7 @@ version: "3"
services:
flarum:
image: mondedie/flarum:stable-v0.1.0-beta.12
...
```

2 - Pull the last docker images
Expand Down

0 comments on commit 9573db8

Please sign in to comment.