diff --git a/.github/workflows/build-tag.yml b/.github/workflows/tag.yml similarity index 95% rename from .github/workflows/build-tag.yml rename to .github/workflows/tag.yml index dd3b96e..139910f 100644 --- a/.github/workflows/build-tag.yml +++ b/.github/workflows/tag.yml @@ -1,12 +1,12 @@ -name: build-tag +name: tag on: push: tags: - - stable-* + - stable-* jobs: - build-tag: + tag: runs-on: ubuntu-latest steps: - diff --git a/Dockerfile b/Dockerfile index b90ac9f..1574cb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3.11 LABEL description="Simple forum software for building great communities" \ maintainer="Hardware , Magicalex " -ARG VERSION=v0.1.0-beta.12 +ARG VERSION=v0.1.0-beta.13 ENV GID=991 \ UID=991 \ diff --git a/LICENSE b/LICENSE index bff4587..35b15a5 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 3321eda..7638a5c 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/UPGRADE.md b/UPGRADE.md index 7b96103..8acb73c 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -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 @@ -13,6 +47,7 @@ version: "3" services: flarum: image: mondedie/flarum:stable-v0.1.0-beta.12 + ... ``` 2 - Pull the last docker images